TypeMapping.GetOrCreateExternalTypeMapping<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 external type map generated for the current application.
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)
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.