VARKIND Enum

Definition

Defines the kind of variable.

public enum class VARKIND
public enum VARKIND
[System.Serializable]
public enum VARKIND
type VARKIND = 
[<System.Serializable>]
type VARKIND = 
Public Enum VARKIND
Inheritance
Attributes

Fields

VAR_CONST 2

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

VAR_DISPATCH 3

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

VAR_PERINSTANCE 0

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

VAR_STATIC 1

There is only one instance of the variable.

Remarks

For more information, see VARKIND enumeration.

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.

Applies to