TypeBuilder.GetProperties(BindingFlags) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 대로 이 형식에 의해 선언되거나 상속된 모든 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
이 호출 특성입니다. 이 플래그는 다음과 InvokeMethodNonPublic같은 비트 플래그 BindingFlags 여야 합니다.
반품
사용되는 경우 nonPublic 이 형식에 정의된 public 및 non-public 속성을 나타내는 개체 배열 PropertyInfo 을 반환하고, 그렇지 않으면 public 속성만 반환됩니다.
예외
이 메서드는 불완전한 형식에 대해 구현되지 않습니다.
설명
검색된 형식을 사용 Type.GetType 하거나 Assembly.GetType 리플렉션을 사용하여 형식을 검색합니다.