Share via


Binding.Type Eigenschaft

Definition

Ruft einen Wert ab bzw. legt einen Wert fest, der den durch den Namespace qualifizierten Namen des PortType darstellt, mit dem Binding verknüpft ist.

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

Eigenschaftswert

Ein XmlQualifiedName des PortType die dem Binding zugeordnet ist.

Beispiele

Im folgenden Beispiel wird die Verwendung der Type -Eigenschaft veranschaulicht.

// Pass the name of the existing porttype 'MathServiceSoap' and the Xml targetNamespace attribute of the Descriptions tag.
myBinding->Type = gcnew XmlQualifiedName( "MathServiceSoap",myServiceDescription->TargetNamespace );
// Pass the name of the existing porttype 'MathServiceSoap' and the Xml targetNamespace attribute of the Descriptions tag.
myBinding.Type = new XmlQualifiedName("MathServiceSoap",myServiceDescription.TargetNamespace);
' Pass the name of the existing porttype 'MathServiceSoap' and the Xml targetNamespace attribute of the Descriptions tag.
myBinding.Type = New XmlQualifiedName("MathServiceSoap", myServiceDescription.TargetNamespace)

Hinweise

Der Standardwert ist eine leere Zeichenfolge ("").

Gilt für: