SfcPropertyCollection.TryGetPropertyValue 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
TryGetPropertyValue(String, Object)
public bool TryGetPropertyValue(string propertyName, out object value);
abstract member TryGetPropertyValue : string * obj -> bool
override this.TryGetPropertyValue : string * obj -> bool
Public Function TryGetPropertyValue (propertyName As String, ByRef value As Object) As Boolean
參數
- propertyName
- String
- value
- Object
傳回
實作
適用於
TryGetPropertyValue<T>(String, T)
public bool TryGetPropertyValue<T>(string propertyName, out T value);
abstract member TryGetPropertyValue : string * 'T -> bool
override this.TryGetPropertyValue : string * 'T -> bool
Public Function TryGetPropertyValue(Of T) (propertyName As String, ByRef value As T) As Boolean
類型參數
- T
參數
- propertyName
- String
- value
- T