TypeBuilder.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 검색하고 검색된 형식에서 리플렉션을 사용합니다.

적용 대상