TypeMapping.GetOrCreateProxyTypeMapping<TTypeMapGroup> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the associated type map generated for the current application.
public:
generic <typename TTypeMapGroup>
static System::Collections::Generic::IReadOnlyDictionary<Type ^, Type ^> ^ GetOrCreateProxyTypeMapping();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")]
public static System.Collections.Generic.IReadOnlyDictionary<Type,Type> GetOrCreateProxyTypeMapping<TTypeMapGroup>();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")>]
static member GetOrCreateProxyTypeMapping : unit -> System.Collections.Generic.IReadOnlyDictionary<Type, Type>
Public Shared Function GetOrCreateProxyTypeMapping(Of TTypeMapGroup) () As IReadOnlyDictionary(Of Type, Type)
Type Parameters
- TTypeMapGroup
The type of the type map group.
Returns
The requested type map.
- Attributes
Remarks
Call sites are treated as an intrinsic by the trimmer and are implemented inline.