다음을 통해 공유


IReflect.GetProperties 메서드

모든 공용 속성이나 현재 클래스의 모든 속성에 해당하는 PropertyInfo 개체의 배열을 검색합니다.

네임스페이스: System.Reflection
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
Function GetProperties ( _
    bindingAttr As BindingFlags _
) As PropertyInfo()
‘사용 방법
Dim instance As IReflect
Dim bindingAttr As BindingFlags
Dim returnValue As PropertyInfo()

returnValue = instance.GetProperties(bindingAttr)
PropertyInfo[] GetProperties (
    BindingFlags bindingAttr
)
array<PropertyInfo^>^ GetProperties (
    BindingFlags bindingAttr
)
PropertyInfo[] GetProperties (
    BindingFlags bindingAttr
)
function GetProperties (
    bindingAttr : BindingFlags
) : PropertyInfo[]

매개 변수

  • bindingAttr
    검색을 제어하는 데 사용되는 바인딩 특성입니다.

반환 값

리플렉션 개체에 정의된 모든 속성에 대한 PropertyInfo 개체의 배열입니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

참고 항목

참조

IReflect 인터페이스
IReflect 멤버
System.Reflection 네임스페이스
BindingFlags 열거형