VARKIND Enum

Definition

Defines the kind of variable.

public enum class VARKIND
[System.Serializable]
public enum VARKIND
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 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.

Applies to