TypeMapping.GetOrCreateExternalTypeMapping<TTypeMapGroup> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回为当前应用程序生成的外部类型映射。
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
类型映射组的类型。
返回
请求的类型映射。
- 属性
注解
调用站点被剪裁器视为内部函数,并实现内联。