特定の Type をシリアル化するときに使用する XML 型情報を返します。
Public Shared Function GetXmlTypeForInteropType( _
ByVal type As Type, _ <Out()> ByRef xmlType As String, _ <Out()> ByRef xmlTypeNamespace As String _) As Boolean
[C#]
public static bool GetXmlTypeForInteropType(Typetype, out stringxmlType, out stringxmlTypeNamespace);
[C++]
public: static bool GetXmlTypeForInteropType(Type* type, [ Out] String** xmlType, [ Out] String** xmlTypeNamespace);
[JScript]
public static function GetXmlTypeForInteropType(
type : Type,xmlType : String,xmlTypeNamespace : String) : Boolean;
パラメータ
- type
XML 要素と名前空間の名前を要求したオブジェクト Type 。 - xmlType
指定したオブジェクト Type の XML 型。 - xmlTypeNamespace
指定したオブジェクト Type の XML 型名前空間。
戻り値
要求した値に SoapTypeAttribute のフラグが設定されている場合は true 。それ以外の場合は false 。
例外
例外の種類 | 条件 |
---|---|
SecurityException | 直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。 |
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- SecurityPermission (インフラストラクチャ コードを操作するために必要なアクセス許可) SecurityPermissionFlag.Infrastructure (関連する列挙体)
参照
SoapServices クラス | SoapServices メンバ | System.Runtime.Remoting 名前空間 | GetInteropFieldTypeAndNameFromXmlElement