SoapTime.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。

实现

示例

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

// Display the XSD type string of this particular SoapTime object.
Console::WriteLine( "The XSD type of the SoapTime instance is {0}.",
   time->GetXsdType() );
// Display the XSD type string of this particular SoapTime object.
Console.WriteLine("The XSD type of the SoapTime object is {0}.",
    time.GetXsdType());

适用于