DataBus.TryGetPropertyValue 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
부동산 가치를 얻으려는 시도.
오버로드
| Name | Description |
|---|---|
| TryGetPropertyValue(String, Object) |
지정된 이름과 가치를 가진 부동산 가치를 얻으려 시도합니다. |
| TryGetPropertyValue<T>(String, T) |
지정된 이름과 유형으로 부동산 가치를 얻으려 시도합니다. |
TryGetPropertyValue(String, Object)
지정된 이름과 가치를 가진 부동산 가치를 얻으려 시도합니다.
public:
virtual bool TryGetPropertyValue(System::String ^ name, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool TryGetPropertyValue(string name, out object value);
abstract member TryGetPropertyValue : string * obj -> bool
override this.TryGetPropertyValue : string * obj -> bool
Public Function TryGetPropertyValue (name As String, ByRef value As Object) As Boolean
매개 변수
- name
- String
이름을 나타내는 문자열입니다.
- value
- Object
속성 값(null일 수 있음)이 있습니다.
반품
True 성공하면; 그렇지 않으면, false.
구현
적용 대상
TryGetPropertyValue<T>(String, T)
지정된 이름과 유형으로 부동산 가치를 얻으려 시도합니다.
public:
generic <typename T>
virtual bool TryGetPropertyValue(System::String ^ name, [Runtime::InteropServices::Out] T % value);
public bool TryGetPropertyValue<T>(string name, out T value);
abstract member TryGetPropertyValue : string * 'T -> bool
override this.TryGetPropertyValue : string * 'T -> bool
Public Function TryGetPropertyValue(Of T) (name As String, ByRef value As T) As Boolean
형식 매개 변수
- T
속성 값의 형식입니다.
매개 변수
- name
- String
이름을 나타내는 문자열입니다.
- value
- T
속성 타입(null 가능)입니다.
반품
true 성공하면; 그렇지 않으면, false.