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
typeTypeType of the object with the property.
instanceobjectInstance which contains the property. Specify Null, for the static properties.
propNamestringProperty name.
Returns
- bool?