DataServiceProviderMethods.GetValue(Object, ResourceProperty) 方法

定义

从指定对象中获取命名值。

public:
 static System::Object ^ GetValue(System::Object ^ value, System::Data::Services::Providers::ResourceProperty ^ property);
public static object GetValue (object value, System.Data.Services.Providers.ResourceProperty property);
static member GetValue : obj * System.Data.Services.Providers.ResourceProperty -> obj
Public Shared Function GetValue (value As Object, property As ResourceProperty) As Object

参数

value
Object

包含值的对象。

property
ResourceProperty

ResourceProperty,这是必须返回值的属性。

返回

表示所请求值的对象。

适用于