Marshal.GetTypeInfoName Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Haalt de naam van het type op dat wordt vertegenwoordigd door een ITypeInfo-object .
Overloads
| Name | Description |
|---|---|
| GetTypeInfoName(UCOMITypeInfo) |
Verouderd.
Haalt de naam van het type op dat wordt vertegenwoordigd door een ITypeInfo-object . |
| GetTypeInfoName(ITypeInfo) |
Haalt de naam van het type op dat wordt vertegenwoordigd door een ITypeInfo-object . |
GetTypeInfoName(UCOMITypeInfo)
Let op
Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.
Haalt de naam van het type op dat wordt vertegenwoordigd door een ITypeInfo-object .
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
Parameters
- pTI
- UCOMITypeInfo
Een object dat een ITypeInfo aanwijzer vertegenwoordigt.
Retouren
De naam van het type waarnaar de pTI parameter verwijst.
- Kenmerken
Opmerkingen
U kunt ook de naam van het type ophalen dat wordt vertegenwoordigd door een ITypeInfo object door de UCOMITypeInfo.GetDocumentation methode aan te roepen en -1 door te geven voor de eerste parameter.
Zie ook
Van toepassing op
GetTypeInfoName(ITypeInfo)
- Bron:
- Marshal.NoCom.cs
- Bron:
- Marshal.NoCom.cs
- Bron:
- Marshal.NoCom.cs
- Bron:
- Marshal.NoCom.cs
- Bron:
- Marshal.NoCom.cs
Haalt de naam van het type op dat wordt vertegenwoordigd door een ITypeInfo-object .
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
Parameters
- typeInfo
- ITypeInfo
Een object dat een ITypeInfo aanwijzer vertegenwoordigt.
Retouren
De naam van het type waarnaar de typeInfo parameter verwijst.
- Kenmerken
Uitzonderingen
De typeInfo parameter is null.
Opmerkingen
U kunt ook de naam van het type ophalen dat wordt vertegenwoordigd door een ITypeInfo door de methode aan UCOMITypeInfo.GetDocumentation te roepen en -1 door te geven voor de eerste parameter.