Marshal.GetTypeInfoName Metoda

Definicja

Pobiera nazwę typu reprezentowanego przez obiekt ITypeInfo .

Przeciążenia

GetTypeInfoName(UCOMITypeInfo)
Przestarzałe.

Pobiera nazwę typu reprezentowanego przez obiekt ITypeInfo .

GetTypeInfoName(ITypeInfo)

Pobiera nazwę typu reprezentowanego przez obiekt ITypeInfo .

GetTypeInfoName(UCOMITypeInfo)

Przestroga

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

Pobiera nazwę typu reprezentowanego przez obiekt 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);
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
Public Shared Function GetTypeInfoName (pTI As UCOMITypeInfo) As String

Parametry

pTI
UCOMITypeInfo

Obiekt reprezentujący ITypeInfo wskaźnik.

Zwraca

Nazwa typu, do którego pTI wskazuje parametr.

Atrybuty

Uwagi

Możesz również pobrać nazwę typu reprezentowanego ITypeInfo przez obiekt, wywołując metodę UCOMITypeInfo.GetDocumentation i przekazując -1 dla pierwszego parametru.

Zobacz też

Dotyczy

GetTypeInfoName(ITypeInfo)

Źródło:
Marshal.NoCom.cs
Źródło:
Marshal.NoCom.cs
Źródło:
Marshal.NoCom.cs

Pobiera nazwę typu reprezentowanego przez obiekt 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

Parametry

typeInfo
ITypeInfo

Obiekt reprezentujący ITypeInfo wskaźnik.

Zwraca

Nazwa typu, do którego typeInfo wskazuje parametr.

Atrybuty

Wyjątki

Parametr typeInfo ma wartość null.

Uwagi

Można również pobrać nazwę typu reprezentowanego przez ITypeInfo metodę , wywołując metodę UCOMITypeInfo.GetDocumentation i przekazując -1 dla pierwszego parametru.

Zobacz też

Dotyczy