When overridden in a derived class, returns the set accessor for this property.
'Declaration
Public Overloads Overrides Function GetSetMethod( _
ByVal As System.Boolean _
) As System.Reflection.MethodInfo
public override System.Reflection.MethodInfo GetSetMethod(
System.bool
)
Parameters
- nonPublic
- Indicates whether the accessor should be returned if it is non-public. true if a non-public accessor is to be returned; otherwise, false.
Return Value
Value Condition A System.Reflection.MethodInfo object representing the Set method for this property. The set accessor is public.-or- is true and the set accessor is non-public. null is true, but the property is read-only.-or- is false and the set accessor is non-public.-or- There is no set accessor.
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