IRemotePropertyInfoContract.SetValue Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.
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.