Binding.Type Свойство

Определение

Получает или задает значение, представляющее собой квалифицированное для пространства имен имя объекта PortType, с которым сопоставлен объект Binding.

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

Значение свойства

XmlQualifiedNameобъекта PortType, с которым связан Binding.

Примеры

В следующем примере показано использование Type свойства .

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

Комментарии

Значение по умолчанию — пустая строка.

Применяется к