COMPropertyInfo.GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) Método
Definição
Obtém o valor da propriedade COM externa usando o COMMemberInfo que foi especificado para o método Initialize(String, COMMemberInfo).Gets the value of the external COM property by using the COMMemberInfo that was specified to the Initialize(String, COMMemberInfo) method.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
public:
override System::Object ^ GetValue(System::Object ^ obj, System::Reflection::BindingFlags invokeAttr, System::Reflection::Binder ^ binder, cli::array <System::Object ^> ^ index, System::Globalization::CultureInfo ^ culture);
public override object GetValue (object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture);
override this.GetValue : obj * System.Reflection.BindingFlags * System.Reflection.Binder * obj[] * System.Globalization.CultureInfo -> obj
Public Overrides Function GetValue (obj As Object, invokeAttr As BindingFlags, binder As Binder, index As Object(), culture As CultureInfo) As Object
Parâmetros
- obj
- Object
O objeto cujo valor da propriedade você deseja obter.The object whose property value you want to get. Este parâmetro é ignorado.This parameter is ignored.
- invokeAttr
- BindingFlags
Um combinação bit a bit dos valores de enumeração que controlam a associação.A bitwise combination of the enumeration values that control the binding.
- binder
- Binder
Um objeto que converte o tipo do tipo de argumento real em tipo de argumento formal.An object that converts the type from actual argument type to formal argument type.
- index
- Object[]
A lista de argumentos a ser passada para a propriedade COM externa.The argument list to pass to the external COM property.
- culture
- CultureInfo
Fornece informações sobre uma cultura ou localidade específica.Provides information about a specific culture or locale. Usado para formatar números, datas e cadeias de caracteres corretamente.Used to format numbers, dates, and strings correctly.
Retornos
O valor da propriedade COM externa.The value of the external COM property.