Method ToggleBoolMember
ToggleBoolMember(Type?, object?, string)
Toggles boolean field or property specified by the type (or instance) and name.
public static bool? ToggleBoolMember(Type? type, object? instance, string propName)
Parameters
type
TypeType of the object with the property.
instance
objectInstance which contains the property. Specify Null, for the static properties.
propName
stringProperty name.
Returns
- bool?