XmlSchemaCollection 构造函数

定义

初始化 XmlSchemaCollection 类的新实例。

重载

名称 说明
XmlSchemaCollection()

初始化 XmlSchemaCollection 类的新实例。

XmlSchemaCollection(XmlNameTable)

用指定的XmlSchemaCollection值初始化类的新实例XmlNameTableXmlNameTable加载架构时使用。

注解

Important

XmlSchemaCollection 类在 .NET Framework 版本 2.0 中已过时,已被类 XmlSchemaSet 替换。

XmlSchemaCollection()

Source:
XmlSchemaCollection.cs
Source:
XmlSchemaCollection.cs
Source:
XmlSchemaCollection.cs
Source:
XmlSchemaCollection.cs
Source:
XmlSchemaCollection.cs

初始化 XmlSchemaCollection 类的新实例。

public:
 XmlSchemaCollection();
public XmlSchemaCollection();
Public Sub New ()

注解

Important

XmlSchemaCollection 类在 .NET Framework 版本 2.0 中已过时,已被类 XmlSchemaSet 替换。

适用于

XmlSchemaCollection(XmlNameTable)

Source:
XmlSchemaCollection.cs
Source:
XmlSchemaCollection.cs
Source:
XmlSchemaCollection.cs
Source:
XmlSchemaCollection.cs
Source:
XmlSchemaCollection.cs

用指定的XmlSchemaCollection值初始化类的新实例XmlNameTableXmlNameTable加载架构时使用。

public:
 XmlSchemaCollection(System::Xml::XmlNameTable ^ nametable);
public XmlSchemaCollection(System.Xml.XmlNameTable nametable);
new System.Xml.Schema.XmlSchemaCollection : System.Xml.XmlNameTable -> System.Xml.Schema.XmlSchemaCollection
Public Sub New (nametable As XmlNameTable)

参数

nametable
XmlNameTable

要使用的 XmlNameTable

适用于