SoapNegativeInteger.XsdType 属性

定义

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

public:
 static property System::String ^ XsdType { System::String ^ get(); };
public static string XsdType { get; }
static member XsdType : string
Public Shared ReadOnly Property XsdType As String

属性值

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

示例

下面的代码示例说明如何使用 XsdType 属性。 此代码示例是为 SoapNegativeInteger 类提供的一个更大示例的一部分。

// Print the XSD type string of the SoapNegativeInteger class.
Console::WriteLine( L"The XSD type of the SoapNegativeInteger class "
L"is {0}.", SoapNegativeInteger::XsdType );
// Print the XSD type string of the SoapNegativeInteger class.
Console.WriteLine(
    "The XSD type of the SoapNegativeInteger class " +
    "is {0}.", SoapNegativeInteger.XsdType);

适用于