TypeName.GetGenericArguments 메서드

정의

TypeName 생성된 제네릭 형식을 나타내는 경우 배열을 반환합니다.

모든 제네릭 인수입니다. 그렇지 않으면 빈 배열을 반환합니다.

public:
 System::Collections::Immutable::ImmutableArray<System::Reflection::Metadata::TypeName ^> GetGenericArguments();
public System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.TypeName> GetGenericArguments ();
member this.GetGenericArguments : unit -> System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.TypeName>
Public Function GetGenericArguments () As ImmutableArray(Of TypeName)

반환

설명

예를 들어 "Dictionary<string, int>"가 지정된 경우 포함하는 2개 요소 배열을 반환합니다.

string 및 int.

적용 대상