SoapServices.XmlNsForClrTypeWithAssembly プロパティ
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アセンブリを持ち、ネイティブ名前空間のない共通言語ランタイム クラスの XML エンコーディングに使用する、既定の XML 名前空間プレフィックスを取得します。
public:
static property System::String ^ XmlNsForClrTypeWithAssembly { System::String ^ get(); };
public static string XmlNsForClrTypeWithAssembly { get; }
static member XmlNsForClrTypeWithAssembly : string
Public Shared ReadOnly Property XmlNsForClrTypeWithAssembly As String
アセンブリを持ち、ネイティブ名前空間のない共通言語ランタイム クラスの XML エンコーディングに使用する、既定の XML 名前空間プレフィックス。
直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。
次のコード例は、このプロパティの使用方法を示しています。 このコード例は、SoapServices クラスのために提供されている大規模な例の一部です。
// Print the XML namespace for the CLR types
// that have an assembly but no common language runtime namespace.
Console::WriteLine( L"The XML namespace for the CLR types "
L"that have an assembly but no namespace, is {0}.",
SoapServices::XmlNsForClrTypeWithAssembly );
// Print the XML namespace for the CLR types
// that have an assembly but no common language runtime namespace.
Console.WriteLine(
"The XML namespace for the CLR types " +
"that have an assembly but no namespace, is {0}.",
SoapServices.XmlNsForClrTypeWithAssembly);
WSDL および SOAP プロトコルは、共通言語ランタイム クラスを XML 名前空間にエンコードします。 現在のプロパティは、XML 名前空間の形式を指定します。 共通言語ランタイム クラスにアセンブリはあるが名前空間がない場合、現在のプロパティは使用される既定の XML 名前空間を返します。
製品 | バージョン |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。