SoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

Public Shared Function DecodeXmlNamespaceForClrTypeNamespace ( _ inNamespace As String, _ <OutAttribute> ByRef typeNamespace As String, _ <OutAttribute> ByRef assemblyName As String _ ) As Boolean
Dim inNamespace As String Dim typeNamespace As String Dim assemblyName As String Dim returnValue As Boolean returnValue = SoapServices.DecodeXmlNamespaceForClrTypeNamespace(inNamespace, typeNamespace, assemblyName)
public static bool DecodeXmlNamespaceForClrTypeNamespace ( string inNamespace, out string typeNamespace, out string assemblyName )
public: static bool DecodeXmlNamespaceForClrTypeNamespace ( String^ inNamespace, [OutAttribute] String^% typeNamespace, [OutAttribute] String^% assemblyName )
public static boolean DecodeXmlNamespaceForClrTypeNamespace ( String inNamespace, /** @attribute OutAttribute() */ /** @ref */ String typeNamespace, /** @attribute OutAttribute() */ /** @ref */ String assemblyName )
戻り値
名前空間とアセンブリの名前が正常にデコードされた場合は true。それ以外の場合は false。


.NET Framework が XML ストリームを解析する場合は、ストリームから読み取った XML の共通言語ランタイム型への変換方法がわかっていることが必要です。.NET Framework が XML ストリームを生成および解析する方法を指定する情報は、System.Runtime.Remoting.Metadata 名前空間にあるカスタム属性に格納されます。この情報を構成ファイルに指定する方法には、明示的にマップを指定する方法と、プリロードするオブジェクトの型を指定する方法の 2 種類があります。現在のメソッドは、このようなマップの取得をサポートしています。

このメソッドを使用する方法を次のコード例に示します。このコード例は、SoapServices クラスのトピックで取り上げているコード例の一部分です。
// Extract a CLR namespace and assembly name from an XML namespace. string typeNamespace; string assemblyName; SoapServices.DecodeXmlNamespaceForClrTypeNamespace(xmlNamespace, out typeNamespace, out assemblyName); Console.WriteLine("The name of the CLR namespace is {0}.", typeNamespace); Console.WriteLine("The name of the CLR assembly is {0}.", assemblyName);
// Extract a CLR namespace and assembly name from an XML namespace. String^ typeNamespace; String^ assemblyName; SoapServices::DecodeXmlNamespaceForClrTypeNamespace( xmlNamespace,typeNamespace,assemblyName ); Console::WriteLine( L"The name of the CLR namespace is {0}.", typeNamespace ); Console::WriteLine( L"The name of the CLR assembly is {0}.", assemblyName );
// Extract a CLR namespace and assembly name from an XML namespace. String typeNamespace = ""; String assemblyName = ""; SoapServices.DecodeXmlNamespaceForClrTypeNamespace(xmlNamespace, typeNamespace, assemblyName); Console.WriteLine("The name of the CLR namespace is {0}.", typeNamespace); Console.WriteLine("The name of the CLR assembly is {0}.", assemblyName);


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からSoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッドを検索する場合は、下記のリンクをクリックしてください。

- SoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッドのページへのリンク