SoapHexBinary.GetXsdType 方法

定义

返回当前 SOAP 类型的 XML 架构定义语言 (XSD)。

public:
 virtual System::String ^ GetXsdType();
public string GetXsdType ();
abstract member GetXsdType : unit -> string
override this.GetXsdType : unit -> string
Public Function GetXsdType () As String

返回

一个 String 指示当前 SOAP 类型的 XSD。

实现

示例

下面的代码示例说明如何使用 GetXsdType 方法。 此代码示例是为 SoapHexBinary 类提供的一个更大示例的一部分。

// Print the XSD type string of this particular SoapHexBinary object.
Console::WriteLine( L"The XSD type of the SoapHexBinary object is {0}.",
   hexBinary->GetXsdType() );
// Print the XSD type string of this particular SoapHexBinary object.
Console.WriteLine(
    "The XSD type of the SoapHexBinary object is {0}.",
    hexBinary.GetXsdType());

适用于