语言

SfcPropertyCollection.TryGetPropertyValue 方法

定义

重载

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

返回

实现

适用于