Επεξεργασία

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


INVOKEKIND Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
INVOKE_FUNC 1

The member is called using a normal function invocation syntax.

INVOKE_PROPERTYGET 2

The function is invoked using a normal property access syntax.

INVOKE_PROPERTYPUT 4

The function is invoked using a property value assignment syntax.

INVOKE_PROPERTYPUTREF 8

The function is invoked using a property reference assignment syntax.

Remarks

For more information, see INVOKEKIND enumeration.

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