ITableEntry.TryGetValue(String, Object) 方法

定义

如果此条目具有与) 关联的数据,则获取与指定列关联的 keyName 数据 (。

public:
 bool TryGetValue(System::String ^ keyName, [Runtime::InteropServices::Out] System::Object ^ % content);
bool TryGetValue(std::wstring const & keyName, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & content);
public bool TryGetValue (string keyName, out object content);
abstract member TryGetValue : string * obj -> bool
Public Function TryGetValue (keyName As String, ByRef content As Object) As Boolean

参数

keyName
String

键名称。

content
Object

内容。

返回

如果条目具有与列关联的数据,则为 true。

注解

keyName使用区分大小写的比较来比较 。

适用于