Marshal.GetTypeInfoName メソッド

定義

ITypeInfo オブジェクトで表される型の名前を取得します。

オーバーロード

GetTypeInfoName(UCOMITypeInfo)
互換性のために残されています。
互換性のために残されています。

ITypeInfo オブジェクトで表される型の名前を取得します。

GetTypeInfoName(ITypeInfo)

ITypeInfo オブジェクトで表される型の名前を取得します。

GetTypeInfoName(UCOMITypeInfo)

注意事項

Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.

注意事項

この API は非推奨になりました。

ITypeInfo オブジェクトで表される型の名前を取得します。

public:
 static System::String ^ GetTypeInfoName(System::Runtime::InteropServices::UCOMITypeInfo ^ pTI);
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
[System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)]
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
[System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)]
[System.Security.SecurityCritical]
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
[System.Obsolete]
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
[<System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)>]
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
[<System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)>]
[<System.Security.SecurityCritical>]
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
[<System.Obsolete>]
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
Public Shared Function GetTypeInfoName (pTI As UCOMITypeInfo) As String

パラメーター

pTI
UCOMITypeInfo

ITypeInfo ポインターを表すオブジェクト。

戻り値

String

pTI パラメーターが指す型の名前。

属性

注釈

メソッドを呼び出UCOMITypeInfo.GetDocumentationし、最初のパラメーターに -1 をITypeInfo渡すことによって、オブジェクトによって表される型の名前を取得することもできます。

こちらもご覧ください

適用対象

GetTypeInfoName(ITypeInfo)

ITypeInfo オブジェクトで表される型の名前を取得します。

public:
 static System::String ^ GetTypeInfoName(System::Runtime::InteropServices::ComTypes::ITypeInfo ^ typeInfo);
[System.Security.SecurityCritical]
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
[<System.Security.SecurityCritical>]
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
Public Shared Function GetTypeInfoName (typeInfo As ITypeInfo) As String

パラメーター

typeInfo
ITypeInfo

ITypeInfo ポインターを表すオブジェクト。

戻り値

String

typeInfo パラメーターが指す型の名前。

属性

例外

typeInfo パラメーターが null です。

注釈

メソッドを呼び出UCOMITypeInfo.GetDocumentationし、最初のパラメーターに -1 を渡すことによって、an ITypeInfo で表される型の名前を取得することもできます。

こちらもご覧ください

適用対象