_Type.GetProperties 메서드

정의

버전에 관계없이 GetProperties 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

오버로드

GetProperties()

버전에 관계없이 GetProperties() 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

GetProperties(BindingFlags)

버전에 관계없이 GetProperties(BindingFlags) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

Type.GetProperties메서드는 현재의 속성을 가져옵니다 Type .

GetProperties()

버전에 관계없이 GetProperties() 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

public:
 cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties();
public System.Reflection.PropertyInfo[] GetProperties ();
abstract member GetProperties : unit -> System.Reflection.PropertyInfo[]
Public Function GetProperties () As PropertyInfo()

반환

PropertyInfo[]

현재 PropertyInfo의 모든 public 속성을 나타내는 Type 개체의 배열입니다.

또는 현재 PropertyInfo에 public 속성이 없을 경우 Type 형식의 빈 배열입니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

합니다 Type.GetProperties 현재 모든 공용 속성을 반환 하는 메서드 Type합니다.

적용 대상

GetProperties(BindingFlags)

버전에 관계없이 GetProperties(BindingFlags) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

public:
 cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties(System::Reflection::BindingFlags bindingAttr);
public System.Reflection.PropertyInfo[] GetProperties (System.Reflection.BindingFlags bindingAttr);
abstract member GetProperties : System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
Public Function GetProperties (bindingAttr As BindingFlags) As PropertyInfo()

매개 변수

bindingAttr
BindingFlags

검색 방법을 지정하는 하나 이상의 BindingFlags로 구성된 비트 마스크입니다.

또는 0(null을 반환하는 경우)

반환

PropertyInfo[]

현재 PropertyInfo의 속성 중 지정된 바인딩 제약 조건과 일치하는 모든 속성을 나타내는 Type 개체의 배열입니다.

또는 현재 PropertyInfo에 속성이 없거나 해당 바인딩 제약 조건과 일치하는 속성이 없을 경우 Type 형식의 빈 배열입니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

Type.GetProperties 메서드는 현재 속성 검색 Type, 지정 된 바인딩 제약 조건입니다.

적용 대상