INVOKEKIND INVOKEKIND INVOKEKIND INVOKEKIND Enum

Definition

Specifies how to invoke a function by IDispatch::Invoke.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class INVOKEKIND
[System.Flags]
[System.Serializable]
public enum INVOKEKIND
type INVOKEKIND = 
Public Enum INVOKEKIND
Inheritance
Attributes

Fields

INVOKE_FUNC INVOKE_FUNC INVOKE_FUNC INVOKE_FUNC 1

The member is called using a normal function invocation syntax.

INVOKE_PROPERTYGET INVOKE_PROPERTYGET INVOKE_PROPERTYGET INVOKE_PROPERTYGET 2

The function is invoked using a normal property access syntax.

INVOKE_PROPERTYPUT INVOKE_PROPERTYPUT INVOKE_PROPERTYPUT INVOKE_PROPERTYPUT 4

The function is invoked using a property value assignment syntax.

INVOKE_PROPERTYPUTREF INVOKE_PROPERTYPUTREF INVOKE_PROPERTYPUTREF INVOKE_PROPERTYPUTREF 8

The function is invoked using a property reference assignment syntax.

Remarks

For additional information about INVOKEKIND, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Applies to