Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

INVOKEKIND Enumeration

 

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

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

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[FlagsAttribute]
public enum INVOKEKIND

Member nameDescription
INVOKE_FUNC

The member is called using a normal function invocation syntax.

INVOKE_PROPERTYGET

The function is invoked using a normal property access syntax.

INVOKE_PROPERTYPUT

The function is invoked using a property value assignment syntax.

INVOKE_PROPERTYPUTREF

The function is invoked using a property reference assignment syntax.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft