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