SoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッドの意味・解説 

SoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッド

指定された共通言語ランタイム名前空間から、XML 名前空間とアセンブリの名前をデコードします。

名前空間: System.Runtime.Remoting
アセンブリ: 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
)
JScript では、値型の引数は参照渡しされません。

パラメータ

inNamespace

共通言語ランタイム名前空間。

typeNamespace

このメソッドが返されるときに、デコードされた名前空間の名前を保持する String を格納します。このパラメータは初期化せずに渡されます。

assemblyName

このメソッドが返されるときに、デコードされたアセンブリの名前を保持する String を格納します。このパラメータは初期化せずに渡されます。

戻り値
名前空間とアセンブリの名前が正常にデコードされた場合は true。それ以外の場合は false。

例外例外
例外の種類条件

ArgumentNullException

inNamespace パラメータが null 参照 (Visual Basic では Nothing) または空です。

SecurityException

直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。

解説解説
使用例使用例

このメソッドを使用する方法を次のコード例に示します。このコード例は、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);
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapServices クラス
SoapServices メンバ
System.Runtime.Remoting 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「SoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッド」の関連用語

SoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SoapServices.DecodeXmlNamespaceForClrTypeNamespace メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS