次の方法で共有


TypeRef.Get メソッド

定義

オーバーロード

Get(Resolver, AssemblyName, Int32, String, TypeRefFlags, Int32, ImmutableArray<TypeRef>, Boolean, ImmutableArray<TypeRef>, TypeRef)
Get(Resolver, StrongAssemblyIdentity, Int32, String, TypeRefFlags, Int32, ImmutableArray<TypeRef>, Boolean, ImmutableArray<TypeRef>, TypeRef)
Get(Type, Resolver)

指定した Type インスタンスを表す TypeRef を取得します。

Get(Resolver, AssemblyName, Int32, String, TypeRefFlags, Int32, ImmutableArray<TypeRef>, Boolean, ImmutableArray<TypeRef>, TypeRef)

ソース:
TypeRef.cs
ソース:
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

パラメーター

resolver
Resolver
assemblyName
AssemblyName
metadataToken
Int32
fullName
String
typeFlags
TypeRefFlags
genericTypeParameterCount
Int32
genericTypeArguments
ImmutableArray<TypeRef>
shallow
Boolean
baseTypes
ImmutableArray<TypeRef>
elementTypeRef
TypeRef

戻り値

適用対象

Get(Resolver, StrongAssemblyIdentity, Int32, String, TypeRefFlags, Int32, ImmutableArray<TypeRef>, Boolean, ImmutableArray<TypeRef>, TypeRef)

ソース:
TypeRef.cs
ソース:
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

パラメーター

resolver
Resolver
metadataToken
Int32
fullName
String
typeFlags
TypeRefFlags
genericTypeParameterCount
Int32
genericTypeArguments
ImmutableArray<TypeRef>
shallow
Boolean
baseTypes
ImmutableArray<TypeRef>
elementTypeRef
TypeRef

戻り値

適用対象

Get(Type, Resolver)

ソース:
TypeRef.cs
ソース:
TypeRef.cs

指定した Type インスタンスを表す TypeRef を取得します。

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

パラメーター

type
Type

表す型。 null結果を取得nullする場合があります。

resolver
Resolver

後で再構成または派生物を再構成 type するために使用する競合回避モジュール。

戻り値

が でない場合 type は TypeRef のインスタンス。 nullそれ以外の場合 nullは 。

適用対象