ElementPropertyDescriptor.CanResetValue Method
Indicates whether the value of the domain property can be reset.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Overrides Function CanResetValue ( _
component As Object _
) As Boolean
'Usage
Dim instance As ElementPropertyDescriptor
Dim component As Object
Dim returnValue As Boolean
returnValue = instance.CanResetValue(component)
public override bool CanResetValue(
Object component
)
public:
virtual bool CanResetValue(
Object^ component
) override
public override function CanResetValue(
component : Object
) : boolean
Parameters
component
Type: System.ObjectNot used.
Return Value
Type: System.Boolean
true if the domain property can be reset; otherwise, false.
Remarks
A domain property can be reset if it is not read-only and has a default value. The attributes passed to the constructor determine whether the described property is read-only or has a default value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ElementPropertyDescriptor Class
ElementPropertyDescriptor Members
Microsoft.VisualStudio.Modeling.Design Namespace
Change History
Date |
History |
Reason |
---|---|---|
July 2008 |
Added topic. |
Content bug fix. |