System.Runtime.InteropServices.ComTypes.VARKIND Enumeration

Defines the kind of variable.

Syntax

public enum VARKIND

Remarks

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.

Members

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.

Requirements

Namespace: System.Runtime.InteropServices.ComTypes
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0