Windows apps
Collapse the table of content
Expand the table of content

VARKIND Enumeration


Defines the kind of variable.

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

public enum VARKIND

Member nameDescription

The VARDESC structure describes a symbolic constant. There is no memory associated with it.


The variable can be accessed only through IDispatch::Invoke.


The variable is a field or member of the type. It exists at a fixed offset within each instance of the type.


There is only one instance of the variable.

For additional information about VARKIND, 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
© 2017 Microsoft