COMMemberInfo.GetValue(BindingFlags, Binder, Object[], CultureInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a class, enables JScript to get the value of an external COM member using the specified binding information.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::Object ^ GetValue(System::Reflection::BindingFlags invokeAttr, System::Reflection::Binder ^ binder, cli::array <System::Object ^> ^ index, System::Globalization::CultureInfo ^ culture);
public object GetValue (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture);
abstract member GetValue : System.Reflection.BindingFlags * System.Reflection.Binder * obj[] * System.Globalization.CultureInfo -> obj
Public Function GetValue (invokeAttr As BindingFlags, binder As Binder, index As Object(), culture As CultureInfo) As Object
Parameters
- invokeAttr
- BindingFlags
A bitwise combination of the enumeration values that control the binding.
- binder
- Binder
An object that performs type conversion from actual argument type to formal argument type.
- index
- Object[]
The argument list to pass to the external COM member.
- culture
- CultureInfo
Provides information about a specific culture or locale to format numbers, dates, and strings correctly.
Returns
The value of the external COM member.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈