XML Web サービス内に含まれる、インポートされる XmlSchemas コレクションを取得します。このプロパティは読み取り専用です。
Public ReadOnly Property Schemas As XmlSchemas
[C#]
public XmlSchemas Schemas {get;}
[C++]
public: __property XmlSchemas* get_Schemas();
[JScript]
public function get Schemas() : XmlSchemas;
プロパティ値
XmlSchemas オブジェクト。
使用例
Dim myImporter As New ServiceDescriptionImporter()
' Add the ServiceDescription to the ServiceDescriptionImporter.
myImporter.AddServiceDescription(myServiceDescription, "", "")
Dim myCollection As ServiceDescriptionCollection = _
myImporter.ServiceDescriptions
Console.WriteLine("Style : " + myImporter.Style.ToString())
' Get the XMLSchema related to the ServiceDescriptionImporter.
Dim mySchemas As XmlSchemas = myImporter.Schemas
[C#]
ServiceDescriptionImporter myImporter = new ServiceDescriptionImporter();
// Add the ServiceDescription to the ServiceDescriptionImporter.
myImporter.AddServiceDescription(myServiceDescription, "", "");
ServiceDescriptionCollection myCollection =
myImporter.ServiceDescriptions;
Console.WriteLine("Style : " + myImporter.Style.ToString());
// Get the XMLSchema related to the ServiceDescriptionImporter.
XmlSchemas mySchemas = myImporter.Schemas;
[C++]
ServiceDescriptionImporter* myImporter = new ServiceDescriptionImporter();
// Add the ServiceDescription to the ServiceDescriptionImporter.
myImporter->AddServiceDescription(myServiceDescription, S"", S"");
ServiceDescriptionCollection* myCollection =
myImporter->ServiceDescriptions;
Console::WriteLine(S"Style : {0}",__box( myImporter->Style));
// Get the XMLSchema related to the ServiceDescriptionImporter.
myImporter->Schemas;
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
ServiceDescriptionImporter クラス | ServiceDescriptionImporter メンバ | System.Web.Services.Description 名前空間