EnumBuilder.GetProperties(BindingFlags) 메서드

정의

지정된 대로 이 형식에 의해 선언되거나 상속되는 public 및 non-public 속성을 모두 반환합니다.

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

매개 변수

bindingAttr
BindingFlags

이 호출의 특성입니다. 이것은 InvokeMethod, NonPublic 등과 같은 BindingFlags의 비트 플래그여야 합니다.

반환

PropertyInfo[]

nonPublic이 사용될 경우 이 형식에 대해 정의된 public 및 non-public 속성을 나타내는 PropertyInfo 개체의 배열을 반환하고, 사용되지 않을 경우 public 속성만 반환합니다.

예외

이 메서드는 완전하지 않은 형식에서 현재 지원되지 않습니다.

설명

해결 방법으로 완성된 형식의 속성을 검색하려면 검색된 형식에서 리플렉션을 사용 Type.GetType 하거나 Assembly.GetType 리플렉션을 사용합니다.

적용 대상