VARKIND Enumeration

Defines the kind of variable.

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

<SerializableAttribute> _
Public Enumeration VARKIND
Dim instance As VARKIND

/** @attribute SerializableAttribute() */ 
public enum VARKIND
public enum VARKIND

 Member nameDescription
VAR_CONSTThe VARDESC structure describes a symbolic constant. There is no memory associated with it. 
VAR_DISPATCHThe variable can be accessed only through IDispatch::Invoke
VAR_PERINSTANCEThe variable is a field or member of the type. It exists at a fixed offset within each instance of the type. 
VAR_STATICThere 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions