共用方式為


CV_access_e

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Specifies the scope of visibility (access level) of member functions and variables.

Syntax

typedef enum CV_access_e {   
   CV_private   = 1,  
   CV_protected = 2,  
   CV_public    = 3  
} CV_access_e;  

Elements

CV_private
Member has private access.

CV_protected
Member has protected access.

CV_public
Member has public access.

Remarks

The friend access specifier is not included here because it is typically used by non-member functions that have access to both private and protected elements of the class. Use the IDiaSymbol::get_symTag method to find symbols with SymTagFriend access.

Requirements

Header: cvconst.h

See Also

Enumerations and Structures
IDiaSymbol::get_access
IDiaSymbol::get_symTag