DataBusDataSource.GetProperty 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
DataBusDataSource 클래스의 특정 속성을 검색합니다.
오버로드
| GetProperty<T>(String) |
지정한 이름의 데이터 원본 속성을 검색합니다. |
| GetProperty<T>(String, T) |
지정한 이름의 데이터 원본 속성을 검색합니다. |
GetProperty<T>(String)
지정한 이름의 데이터 원본 속성을 검색합니다.
protected:
generic <typename T>
T GetProperty(System::String ^ propertyName);
protected T GetProperty<T> (string propertyName);
member this.GetProperty : string -> 'T
Protected Function GetProperty(Of T) (propertyName As String) As T
형식 매개 변수
- T
속성의 제네릭 형식입니다.
매개 변수
- propertyName
- String
속성 이름입니다.
반환
T
속성의 지정된 이름입니다.
적용 대상
GetProperty<T>(String, T)
지정한 이름의 데이터 원본 속성을 검색합니다.
protected:
generic <typename T>
T GetProperty(System::String ^ propertyName, T defaultValue);
protected T GetProperty<T> (string propertyName, T defaultValue);
member this.GetProperty : string * 'T -> 'T
Protected Function GetProperty(Of T) (propertyName As String, defaultValue As T) As T
형식 매개 변수
- T
속성의 형식입니다.
매개 변수
- propertyName
- String
속성 이름을 나타내는 문자열입니다.
- defaultValue
- T
속성의 기본값입니다.
반환
T
속성의 기본값을 나타내는 개체입니다.