_Type.GetProperties 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
COM 개체에 메서드에 대한 버전 독립적 액세스를 GetProperties 제공합니다.
오버로드
| Name | Description |
|---|---|
| GetProperties() |
COM 개체에 메서드에 대한 버전 독립적 액세스를 GetProperties() 제공합니다. |
| GetProperties(BindingFlags) |
COM 개체에 메서드에 대한 버전 독립적 액세스를 GetProperties(BindingFlags) 제공합니다. |
설명
이 메서드는 관리되지 않는 코드에서 관리되는 클래스에 액세스하기 위한 것이며 관리 코드에서 호출해서는 안 됩니다.
메서드는 Type.GetProperties 현재 Type.의 속성을 가져옵니다.
GetProperties()
COM 개체에 메서드에 대한 버전 독립적 액세스를 GetProperties() 제공합니다.
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의 Type 모든 public 속성을 나타내는 개체의 배열입니다.
-또는-
현재 PropertyInfo 에 public 속성이 없는 경우 형식Type의 빈 배열입니다.
설명
이 메서드는 관리되지 않는 코드에서 관리되는 클래스에 액세스하기 위한 것이며 관리 코드에서 호출해서는 안 됩니다.
이 메서드는 Type.GetProperties 현재 Type공용 속성을 모두 반환합니다.
적용 대상
GetProperties(BindingFlags)
COM 개체에 메서드에 대한 버전 독립적 액세스를 GetProperties(BindingFlags) 제공합니다.
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()
매개 변수
반품
지정된 바인딩 제약 조건과 일치하는 현재 PropertyInfo 속성의 모든 속성을 나타내는 개체의 배열 Type 입니다.
-또는-
현재 PropertyInfo 에 속성이 없거나 바인딩 제약 조건과 일치하는 속성이 없는 경우 형식Type의 빈 배열입니다.
설명
이 메서드는 관리되지 않는 코드에서 관리되는 클래스에 액세스하기 위한 것이며 관리 코드에서 호출해서는 안 됩니다.
메서드는 Type.GetProperties 지정된 바인딩 제약 조건을 사용하여 현재 Type속성을 검색합니다.