TypeRef.Get Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
Get(Resolver, AssemblyName, Int32, String, TypeRefFlags, Int32, ImmutableArray<TypeRef>, Boolean, ImmutableArray<TypeRef>, TypeRef)
- Quelle:
- TypeRef.cs
- Quelle:
- TypeRef.cs
public static Microsoft.VisualStudio.Composition.Reflection.TypeRef Get (Microsoft.VisualStudio.Composition.Resolver resolver, System.Reflection.AssemblyName assemblyName, int metadataToken, string fullName, Microsoft.VisualStudio.Composition.Reflection.TypeRefFlags typeFlags, int genericTypeParameterCount, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> genericTypeArguments, bool shallow, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> baseTypes, Microsoft.VisualStudio.Composition.Reflection.TypeRef elementTypeRef);
static member Get : Microsoft.VisualStudio.Composition.Resolver * System.Reflection.AssemblyName * int * string * Microsoft.VisualStudio.Composition.Reflection.TypeRefFlags * int * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> * bool * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> * Microsoft.VisualStudio.Composition.Reflection.TypeRef -> Microsoft.VisualStudio.Composition.Reflection.TypeRef
Public Shared Function Get (resolver As Resolver, assemblyName As AssemblyName, metadataToken As Integer, fullName As String, typeFlags As TypeRefFlags, genericTypeParameterCount As Integer, genericTypeArguments As ImmutableArray(Of TypeRef), shallow As Boolean, baseTypes As ImmutableArray(Of TypeRef), elementTypeRef As TypeRef) As TypeRef
Parameter
- resolver
- Resolver
- assemblyName
- AssemblyName
- metadataToken
- Int32
- fullName
- String
- typeFlags
- TypeRefFlags
- genericTypeParameterCount
- Int32
- genericTypeArguments
- ImmutableArray<TypeRef>
- shallow
- Boolean
- baseTypes
- ImmutableArray<TypeRef>
- elementTypeRef
- TypeRef
Gibt zurück
Gilt für:
Get(Resolver, StrongAssemblyIdentity, Int32, String, TypeRefFlags, Int32, ImmutableArray<TypeRef>, Boolean, ImmutableArray<TypeRef>, TypeRef)
- Quelle:
- TypeRef.cs
- Quelle:
- TypeRef.cs
public static Microsoft.VisualStudio.Composition.Reflection.TypeRef Get (Microsoft.VisualStudio.Composition.Resolver resolver, Microsoft.VisualStudio.Composition.StrongAssemblyIdentity assemblyId, int metadataToken, string fullName, Microsoft.VisualStudio.Composition.Reflection.TypeRefFlags typeFlags, int genericTypeParameterCount, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> genericTypeArguments, bool shallow, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> baseTypes, Microsoft.VisualStudio.Composition.Reflection.TypeRef elementTypeRef);
static member Get : Microsoft.VisualStudio.Composition.Resolver * Microsoft.VisualStudio.Composition.StrongAssemblyIdentity * int * string * Microsoft.VisualStudio.Composition.Reflection.TypeRefFlags * int * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> * bool * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> * Microsoft.VisualStudio.Composition.Reflection.TypeRef -> Microsoft.VisualStudio.Composition.Reflection.TypeRef
Public Shared Function Get (resolver As Resolver, assemblyId As StrongAssemblyIdentity, metadataToken As Integer, fullName As String, typeFlags As TypeRefFlags, genericTypeParameterCount As Integer, genericTypeArguments As ImmutableArray(Of TypeRef), shallow As Boolean, baseTypes As ImmutableArray(Of TypeRef), elementTypeRef As TypeRef) As TypeRef
Parameter
- resolver
- Resolver
- assemblyId
- StrongAssemblyIdentity
- metadataToken
- Int32
- fullName
- String
- typeFlags
- TypeRefFlags
- genericTypeParameterCount
- Int32
- genericTypeArguments
- ImmutableArray<TypeRef>
- shallow
- Boolean
- baseTypes
- ImmutableArray<TypeRef>
- elementTypeRef
- TypeRef
Gibt zurück
Gilt für:
Get(Type, Resolver)
- Quelle:
- TypeRef.cs
- Quelle:
- TypeRef.cs
Ruft eine TypeRef ab, die einen bestimmten Typ instance darstellt.
public static Microsoft.VisualStudio.Composition.Reflection.TypeRef Get (Type type, Microsoft.VisualStudio.Composition.Resolver resolver);
static member Get : Type * Microsoft.VisualStudio.Composition.Resolver -> Microsoft.VisualStudio.Composition.Reflection.TypeRef
Public Shared Function Get (type As Type, resolver As Resolver) As TypeRef
Parameter
- type
- Type
Der typ, der dargestellt werden soll. Kann sein null
, um ein null
Ergebnis zu erhalten.
- resolver
- Resolver
Der Resolver, der später zum Rekonstituieren type
verwendet werden soll, oder ableitungen.
Gibt zurück
Eine instance von TypeRef, wenn type
nicht null
ist, andernfalls null
.