IUpdatable.SetReference 方法
設定目標物件上指定之參考屬性的值。
命名空間: System.Data.Services
組件: Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)
語法
'宣告
Sub SetReference ( _
targetResource As Object, _
propertyName As String, _
propertyValue As Object _
)
'用途
Dim instance As IUpdatable
Dim targetResource As Object
Dim propertyName As String
Dim propertyValue As Object
instance.SetReference(targetResource, _
propertyName, propertyValue)
void SetReference(
Object targetResource,
string propertyName,
Object propertyValue
)
void SetReference(
Object^ targetResource,
String^ propertyName,
Object^ propertyValue
)
abstract SetReference :
targetResource:Object *
propertyName:string *
propertyValue:Object -> unit
function SetReference(
targetResource : Object,
propertyName : String,
propertyValue : Object
)
參數
- targetResource
型別:System.Object
定義屬性的目標物件。
- propertyName
型別:System.String
需要更新其值的屬性名稱。
- propertyValue
型別:System.Object
要更新的屬性值。