IInvokeOnGetBinder.InvokeOnGet Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: