SchemaImporterExtensionElementCollection.Item[] 属性

定义

获取或设置表示指定索引处的 XML 元素的对象。

重载

Item[Int32]

此 API 支持产品基础结构,不能在代码中直接使用。

获取或设置表示指定索引处的 XML 元素的对象。

Item[String]

此 API 支持产品基础结构,不能在代码中直接使用。

获取或设置具有指定名称的项。

Item[Int32]

获取或设置表示指定索引处的 XML 元素的对象。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property System::Xml::Serialization::Configuration::SchemaImporterExtensionElement ^ default[int] { System::Xml::Serialization::Configuration::SchemaImporterExtensionElement ^ get(int index); void set(int index, System::Xml::Serialization::Configuration::SchemaImporterExtensionElement ^ value); };
public System.Xml.Serialization.Configuration.SchemaImporterExtensionElement this[int index] { get; set; }
member this.Item(int) : System.Xml.Serialization.Configuration.SchemaImporterExtensionElement with get, set
Default Public Property Item(index As Integer) As SchemaImporterExtensionElement

参数

index
Int32

要获取或设置的 XML 元素的从零开始的索引。

属性值

SchemaImporterExtensionElement

指定索引处的 SchemaImporterExtensionElement

例外

index 小于零。

index 等于或大于 Count

适用于

Item[String]

获取或设置具有指定名称的项。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property System::Xml::Serialization::Configuration::SchemaImporterExtensionElement ^ default[System::String ^] { System::Xml::Serialization::Configuration::SchemaImporterExtensionElement ^ get(System::String ^ name); void set(System::String ^ name, System::Xml::Serialization::Configuration::SchemaImporterExtensionElement ^ value); };
public System.Xml.Serialization.Configuration.SchemaImporterExtensionElement this[string name] { get; set; }
member this.Item(string) : System.Xml.Serialization.Configuration.SchemaImporterExtensionElement with get, set
Default Public Property Item(name As String) As SchemaImporterExtensionElement

参数

name
String

要获取或设置的项的名称。

属性值

SchemaImporterExtensionElement

具有指定名称的 SchemaImporterExtensionElement

适用于