Share via


MethodInfo.Accessspecifier Method

Definition

Specifies whether the method is public, protected, or private.

public:
 virtual int Accessspecifier();
public virtual int Accessspecifier ();
abstract member Accessspecifier : unit -> int
override this.Accessspecifier : unit -> int
Public Overridable Function Accessspecifier () As Integer

Returns

An AccessSpecifier enum value that specifies whether the method is public, protected, or private.

Applies to