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

实现

示例

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

// Print out the XSD type string of this particular SoapDate object.
Console::WriteLine( "The XSD type of the SoapDate instance is {0}.",
   date->GetXsdType() );
// Print the XSD type string of this particular SoapDate object.
Console.WriteLine("The XSD type of the SoapDate object is {0}.",
    date.GetXsdType());

适用于