แก้ไข

แชร์ผ่าน


MessagePart.Type Property

Definition

Gets or sets the XML data type of the MessagePart.

public:
 property System::Xml::XmlQualifiedName ^ Type { System::Xml::XmlQualifiedName ^ get(); void set(System::Xml::XmlQualifiedName ^ value); };
public System.Xml.XmlQualifiedName Type { get; set; }
member this.Type : System.Xml.XmlQualifiedName with get, set
Public Property Type As XmlQualifiedName

Property Value

An XmlQualifiedName.

Examples

The following example demonstrates a use of the Type property.

MessagePart_Type#1

Remarks

This property corresponds to the type attribute of the part element for which the MessagePart class serves as a wrapper. In general, it refers to a data type defined in the XSD schema, but it can also be extended, as long as the XML namespace used is different from that of Web Services Description Language (WSDL).

Applies to