IInvokeOnGetBinder.InvokeOnGet Property

Gets the value indicating if this GetMember method should invoke properties when performing the get operation. The default value when this interface is not present is true.

Namespace:  System.Dynamic
Assembly:  System.Core (in System.Core.dll)

bool InvokeOnGet { get; }

Property Value

Type: System.Boolean
true if this GetMember method should invoke properties when performing the get operation; otherwise false.

This property is used by some languages to get a better COM interop experience. When the value is set to false, the dynamic COM object won't invoke the object but will instead bind to the name, and return an object that can be invoked or indexed later. This is useful for indexed properties and languages that do not produce InvokeMember call sites.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: