TypeMapping.GetOrCreateExternalTypeMapping<TTypeMapGroup> 方法

定义

返回为当前应用程序生成的外部类型映射。

public:
generic <typename TTypeMapGroup>
 static System::Collections::Generic::IReadOnlyDictionary<System::String ^, Type ^> ^ GetOrCreateExternalTypeMapping();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")]
public static System.Collections.Generic.IReadOnlyDictionary<string,Type> GetOrCreateExternalTypeMapping<TTypeMapGroup>();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")>]
static member GetOrCreateExternalTypeMapping : unit -> System.Collections.Generic.IReadOnlyDictionary<string, Type>
Public Shared Function GetOrCreateExternalTypeMapping(Of TTypeMapGroup) () As IReadOnlyDictionary(Of String, Type)

类型参数

TTypeMapGroup

类型映射组的类型。

返回

请求的类型映射。

属性

注解

调用站点被剪裁器视为内部函数,并实现内联。

适用于