When overridden in a derived class, returns the public or non-public get accessor for this property.
'Declaration
Public Overloads Overrides Function GetGetMethod( _
ByVal As System.Boolean _
) As System.Reflection.MethodInfo
public override System.Reflection.MethodInfo GetGetMethod(
System.bool
)
Parameters
- nonPublic
- Indicates whether a non-public get accessor should be returned. true if a non-public accessor is to be returned; otherwise, false.
Return Value
A MethodInfo object representing the get accessor for this property, if is true. Returns null if is false and the get accessor is non-public, or if is true but no get accessors exist.