InvokeOnGet Property
Collapse the table of content
Expand the table of content

IInvokeOnGetBinder.InvokeOnGet Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the value indicating if this get member operation should invoke properties when they perform 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 get member operation should invoke properties when they perform the get operation; otherwise false.

This property is used by some languages to get a better COM interoperation experience.

When the value is set to false, the dynamic COM object will not 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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft