Method CoerceDeclaringTypeOnly
| Improve this Doc View SourceCoerceDeclaringTypeOnly(Boolean)
Coerce the value of DeclaringTypeOnly property.
Declaration
protected virtual bool CoerceDeclaringTypeOnly(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | The original DeclaringTypeOnly property value. |
Returns
Type | Description |
---|---|
System.Boolean | The coerced DeclaringTypeOnly property value. |
Remarks
Derived class can override this method to enforce DeclaringTypeOnly property value. The default implementation does not change the original value.