SoapDay.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. 此代码示例是为类提供的更大示例的一部分 SoapDayThis code example is part of a larger example that is provided for the SoapDay class.

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

适用于