ComponentOne DataGrid for WPF and Silverlight
GetAccessors(Boolean) Method

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.
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 System.Boolean _
) As System.Reflection.MethodInfo()
public override System.Reflection.MethodInfo[] GetAccessors( 
   System.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

Reference

CustomPropertyInfo Class
CustomPropertyInfo Members
Overload List