Share via


MethodInfo.accessSpecifier Method

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

Syntax

public AccessSpecifier accessSpecifier()

Run On

Called

Return Value

Type: AccessSpecifier Enumeration
An AccessSpecifier enum value that specifies whether the method is public, proctected, or private.

See Also

Reference

MethodInfo Class