共用方式為


XmlSchemaElement.ElementType 屬性

定義

警告

XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.

警告

This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202

警告

This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202

取得基於XmlSchemaElementXmlSchemaElement元素或的通用語言執行時(CLR)物件,該物件包含該屬性編譯後的值ElementType

public:
 property System::Object ^ ElementType { System::Object ^ get(); };
[System.Obsolete("XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.")]
public object? ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")]
public object? ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202")]
public object ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")]
public object ElementType { get; }
public object ElementType { get; }
[<System.Obsolete("XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.")>]
member this.ElementType : obj
[<System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ElementType : obj
[<System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ElementType : obj
member this.ElementType : obj
Public ReadOnly Property ElementType As Object

屬性值

通用語言執行物件。 該房產的編制後價值 ElementType

屬性

備註

物件可以是 XmlSchemaDatatype 元素本身有內建 XML Schema 類型,或 XmlSchemaSimpleType 是有使用者定義型別。

此屬性為後模式驗證資訊集屬性。

這很重要

ElementType 屬性在 .NET Framework 2.0 版本中已過時,並被該 ElementSchemaType 屬性取代。

適用於