Type.EmptyTypes 필드

정의

Type 형식의 빈 배열을 나타냅니다. 이 필드는 읽기 전용입니다.

public: static initonly cli::array <Type ^> ^ EmptyTypes;
public static readonly Type[] EmptyTypes;
 staticval mutable EmptyTypes : Type[]
Public Shared ReadOnly EmptyTypes As Type() 

필드 값

Type[]

예제

다음 코드 예제에서는 EmptyTypes GetConstructor 매개 변수를 사용 하지 않는 생성자를 가져오기 위해 메서드 중 하나에서 사용 되는 필드를 보여 줍니다.

cInfo = type->GetConstructor( BindingFlags::ExactBinding, nullptr,
   Type::EmptyTypes, nullptr );
cInfo = type.GetConstructor (BindingFlags.ExactBinding, null,
         Type.EmptyTypes, null);
cInfo = type.GetConstructor(BindingFlags.ExactBinding, _
   Nothing, Type.EmptyTypes, Nothing)

적용 대상