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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2