Share via


Binding.Type Vlastnost

Definice

Získá nebo nastaví hodnotu představující název PortType kvalifikovaný obor názvů, ke kterému Binding je přidružen.

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

Hodnota vlastnosti

Hodnota XmlQualifiedName , se PortType kterou je přidružena Binding .

Příklady

Následující příklad ukazuje použití Type vlastnosti.

// 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)

Poznámky

Výchozí hodnota je prázdný řetězec ("").

Platí pro