TypeName.MakeGenericTypeName(ImmutableArray<TypeName>) 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.
Creates a new constructed generic type name.
public:
System::Reflection::Metadata::TypeName ^ MakeGenericTypeName(System::Collections::Immutable::ImmutableArray<System::Reflection::Metadata::TypeName ^> typeArguments);
public System.Reflection.Metadata.TypeName MakeGenericTypeName(System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.TypeName> typeArguments);
member this.MakeGenericTypeName : System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.TypeName> -> System.Reflection.Metadata.TypeName
Public Function MakeGenericTypeName (typeArguments As ImmutableArray(Of TypeName)) As TypeName
Parameters
- typeArguments
- ImmutableArray<TypeName>
An array of type names to be used as generic arguments of the current simple type name.
Returns
A TypeName representing the constructed type name formed by using the elements of typeArguments for the generic arguments of the current simple type name.
Exceptions
The current type name is not simple.