ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / CustomPropertyInfo Class / GetAccessors Method / GetAccessors(Boolean) Method
Indicates whether non-public methods should be returned in the MethodInfo array. true if non-public methods are to be included; otherwise, false.

In This Topic
    GetAccessors(Boolean) Method
    In This Topic
    Returns an array whose elements reflect the public and, if specified, non-public get, set, and other accessors of the property reflected by the current instance.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function GetAccessors( _
       ByVal nonPublic As Boolean _
    ) As MethodInfo()
    public override MethodInfo[] GetAccessors( 
       bool nonPublic
    )

    Parameters

    nonPublic
    Indicates whether non-public methods should be returned in the MethodInfo array. true if non-public methods are to be included; otherwise, false.

    Return Value

    An array of System.Reflection.MethodInfo objects whose elements reflect the get, set, and other accessors of the property reflected by the current instance. If nonPublic is true, this array contains public and non-public get, set, and other accessors. If nonPublic is false, this array contains only public get, set, and other accessors. If no accessors with the specified visibility are found, this method returns an array with zero (0) elements.
    See Also