SoapInteger.GetXsdType 方法

定义

返回当前 SOAP 类型的 XML 架构定义语言 (XSD)。Returns the XML Schema definition language (XSD) of the current SOAP type.

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

返回

String

一个 String 指示当前 SOAP 类型的 XSD。A String that indicates the XSD of the current SOAP type.

实现

示例

下面的代码示例说明如何使用 GetXsdType 方法。The following code example shows how to use the GetXsdType method. 此代码示例是为类提供的更大示例的一部分 SoapIntegerThis code example is part of a larger example that is provided for the SoapInteger class.

// Print the XSD type string of the SoapInteger object.
Console::WriteLine( L"The XSD type of the SoapInteger "
L"object is {0}.", xsdInteger->GetXsdType() );
// Print the XSD type string of the SoapInteger object.
Console.WriteLine("The XSD type of the SoapInteger " +
    "object is {0}.", xsdInteger.GetXsdType());

适用于