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.

VARKIND Enumeration

 

Defines the kind of variable.

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

[SerializableAttribute]
public enum VARKIND

Member nameDescription
VAR_CONST

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

VAR_DISPATCH

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

VAR_PERINSTANCE

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

VAR_STATIC

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
Show:
© 2016 Microsoft