System.Reflection.MethodBase.IsPublic Property

Gets a value indicating whether this is a public method.

Syntax

public bool IsPublic { get; }

Value

Documentation for this section has not yet been entered.

Remarks

To get the System.Reflection.MethodBase, first get the type. From the type, get the method. From the method, get the MethodBase. If the MethodBase or constructor is other than public, it is protected and cannot be readily accessed. To access a non-public method, set the System.Reflection.BindingFlags mask to NonPublic in GetMethod.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0