Aracılığıyla paylaş


IRemotePropertyInfoContract.SetValue Yöntem

Tanım

Bunun IRemotePropertyInfoContract tanımladığını özelliğin değerini ayarlar.

public:
 void SetValue(System::AddIn::Contract::Automation::IRemoteObjectContract ^ target, System::AddIn::Contract::RemoteArgument % value, System::Reflection::BindingFlags bindingFlags, System::AddIn::Contract::Collections::IRemoteArgumentArrayContract ^ index, int localeId);
public void SetValue (System.AddIn.Contract.Automation.IRemoteObjectContract target, ref System.AddIn.Contract.RemoteArgument value, System.Reflection.BindingFlags bindingFlags, System.AddIn.Contract.Collections.IRemoteArgumentArrayContract index, int localeId);
abstract member SetValue : System.AddIn.Contract.Automation.IRemoteObjectContract * RemoteArgument * System.Reflection.BindingFlags * System.AddIn.Contract.Collections.IRemoteArgumentArrayContract * int -> unit
Public Sub SetValue (target As IRemoteObjectContract, ByRef value As RemoteArgument, bindingFlags As BindingFlags, index As IRemoteArgumentArrayContract, localeId As Integer)

Parametreler

target
IRemoteObjectContract

IRemoteObjectContract özelliğini içeren nesneyi tanımlayan.

value
RemoteArgument

RemoteArgument Özellik değerini belirten bir.

bindingFlags
BindingFlags

Özelliğinin BindingFlags nasıl çağrıldığını belirten değerlerin bit düzeyinde birleşimi.

index
IRemoteArgumentArrayContract

IRemoteArgumentArrayContract Özelliği dizine alınmamışsa, null dizine alınan bir özelliğin dizin değerlerini belirten.

localeId
Int32

Özelliğin yerel ayara özgü tür dönüştürmeleri için kullanacağı yerel ayar kimliği.

Açıklamalar

Özelliği salt okunur olduğunda uygulamaların bir ArgumentException oluşturması önerilirSetValue.

Şunlara uygulanır