Delen via


INamedTypeSymbol.GetTypeArgumentCustomModifiers(Int32) Method

Definition

Returns custom modifiers for the type argument that has been substituted for the type parameter. The modifiers correspond to the type argument at the same ordinal within the TypeArguments array. Returns an empty array if there are no modifiers.

public:
 System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::CustomModifier ^> GetTypeArgumentCustomModifiers(int ordinal);
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CustomModifier> GetTypeArgumentCustomModifiers (int ordinal);
abstract member GetTypeArgumentCustomModifiers : int -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CustomModifier>
Public Function GetTypeArgumentCustomModifiers (ordinal As Integer) As ImmutableArray(Of CustomModifier)

Parameters

ordinal
Int32

Returns

Applies to