Επεξεργασία

Κοινή χρήση μέσω


IInvokeOnGetBinder.InvokeOnGet Property

Definition

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.

public:
 property bool InvokeOnGet { bool get(); };
public bool InvokeOnGet { get; }
member this.InvokeOnGet : bool
Public ReadOnly Property InvokeOnGet As Boolean

Property Value

true if this get member operation should invoke properties when they perform the get operation; otherwise, false.

Remarks

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.

Applies to