Rediger

Del via


COMPropertyInfo.GetValue Method

Definition

Gets the value of the external COM property by using the COMMemberInfo that was specified to the Initialize(String, COMMemberInfo) method.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

obj
Object

The object whose property value you want to get. This parameter is ignored.

invokeAttr
BindingFlags

A bitwise combination of the enumeration values that control the binding.

binder
Binder

An object that converts the type from actual argument type to formal argument type.

index
Object[]

The argument list to pass to the external COM property.

culture
CultureInfo

Provides information about a specific culture or locale. Used to format numbers, dates, and strings correctly.

Returns

The value of the external COM property.

Applies to

See also