CodeFunction2.Access Property

Definition

Sets or gets the access attributes of this item.

public:
 property EnvDTE::vsCMAccess Access { EnvDTE::vsCMAccess get(); void set(EnvDTE::vsCMAccess value); };
public:
 property EnvDTE::vsCMAccess Access { EnvDTE::vsCMAccess get(); void set(EnvDTE::vsCMAccess value); };
[System.Runtime.InteropServices.DispId(38)]
public EnvDTE.vsCMAccess Access { [System.Runtime.InteropServices.DispId(38)] get; [System.Runtime.InteropServices.DispId(38)] set; }
[<System.Runtime.InteropServices.DispId(38)>]
[<get: System.Runtime.InteropServices.DispId(38)>]
[<set: System.Runtime.InteropServices.DispId(38)>]
member this.Access : EnvDTE.vsCMAccess with get, set
Public Property Access As vsCMAccess

Property Value

A vsCMAccess value.

Implements

Attributes

Remarks

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

Note

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

Also, the values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same

Applies to