対象リソース上の指定された名前のプロパティを、指定された値に設定します。
名前空間: System.Data.Services
アセンブリ: Microsoft.Data.Services (Microsoft.Data.Services.dll)
構文
'宣言
Sub SetValue ( _
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.SetValue(targetResource, propertyName, _
propertyValue)
void SetValue(
Object targetResource,
string propertyName,
Object propertyValue
)
void SetValue(
Object^ targetResource,
String^ propertyName,
Object^ propertyValue
)
abstract SetValue :
targetResource:Object *
propertyName:string *
propertyValue:Object -> unit
function SetValue(
targetResource : Object,
propertyName : String,
propertyValue : Object
)
パラメーター
- targetResource
型: System.Object
プロパティを定義する対象オブジェクト。
- propertyName
型: System.String
値を更新するプロパティの名前。
- propertyValue
型: System.Object
更新に使用するプロパティ値。