IInvokeOnGetBinder.InvokeOnGet Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
ReadOnly Property InvokeOnGet As Boolean
bool InvokeOnGet { get; }
Property Value
Type: System.Boolean
true if this GetMember method should invoke properties when performing the get operation; otherwise false.
Remarks
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.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.