Types 類別

定義

描述已交換訊息所相關的資料型別定義。 此類別無法獲得繼承。

public ref class Types sealed : System::Web::Services::Description::DocumentableItem
[System.Web.Services.Configuration.XmlFormatExtensionPoint("Extensions")]
public sealed class Types : System.Web.Services.Description.DocumentableItem
[<System.Web.Services.Configuration.XmlFormatExtensionPoint("Extensions")>]
type Types = class
    inherit DocumentableItem
Public NotInheritable Class Types
Inherits DocumentableItem
繼承
屬性

備註

這個類別是 XML Web 服務的資料類型定義容器。 請注意,這個類別不代表 類別實例的 Type 集合,因為其名稱可能表示。 相反地,它會對應至根項目所括住 <definitions> 的 Web 服務描述語言 (WSDL) <types> 元素。 如需 WSDL 的詳細資訊,請參閱 WSDL 規格。

類別 Types 有兩個唯讀屬性和 SchemasExtensions ,代表 XML Web 服務可用的資料類型定義集合。

建構函式

Types()

初始化 Types 類別的新執行個體。

屬性

Documentation

取得或設定 DocumentableItem 的執行個體的文字文件。

(繼承來源 DocumentableItem)
DocumentationElement

取得或設定 DocumentableItem 的文件項目。

(繼承來源 DocumentableItem)
ExtensibleAttributes

取得或設定型別 XmlAttribute 的陣列,表示符合 Web 服務互通性 (WS-I) Basic Profile 1.1 的 WSDL 屬性擴充。

(繼承來源 DocumentableItem)
Extensions

取得包含於 XML Web Service 中的 ServiceDescriptionFormatExtension 項目的集合。 這個屬性是唯讀的。

Namespaces

取得或設定命名空間前置詞和命名空間的字典,用於在建構 ServiceDescription 物件時保留命名空間前置詞和命名空間。

(繼承來源 DocumentableItem)
Schemas

取得併入為 XML Web Service 的資料型別定義的 XML 結構描述 (Schema) 的集合。 這個屬性是唯讀的。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於