語言

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 集合。 相反地,它對應於由<types>根元素包圍的網路服務描述語言(WSDL)<definitions>元素。 欲了解更多關於 WSDL 的資訊,請參閱 WSDL 規範。

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

建構函式

名稱 Description
Types()

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

屬性

名稱 Description
Documentation

取得或設定 實例 DocumentableItem的文字文件。

(繼承來源 DocumentableItem)
DocumentationElement

取得或設定 文件元素。DocumentableItem

(繼承來源 DocumentableItem)
ExtensibleAttributes

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

(繼承來源 DocumentableItem)
Extensions

取得 XML 網路服務中包含的元素集合 ServiceDescriptionFormatExtension 。 這個屬性是唯讀的。

Namespaces

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

(繼承來源 DocumentableItem)
Schemas

取得包含在 XML Web 服務資料型別定義中的 XML 結構集合。 這個屬性是唯讀的。

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於