共用方式為


VCCodeVariable.Access Property

Sets or gets the access attributes of this item.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'宣告
Property Access As vsCMAccess
    Get
    Set
vsCMAccess Access { get; set; }
property vsCMAccess Access {
    vsCMAccess get ();
    void set (vsCMAccess value);
}
abstract Access : vsCMAccess with get, set
function get Access () : vsCMAccess
function set Access (value : vsCMAccess)

Property Value

Type: EnvDTE.vsCMAccess
A vsCMAccess value.

Remarks

Access returns the actual access and how other code may access this code element.

注意

This property is read-only for code elements from Visual Basic source code.

.NET Framework Security

See Also

Reference

VCCodeVariable Interface

Microsoft.VisualStudio.VCCodeModel Namespace