共用方式為


DataViewPropertyDescriptor.CanResetValue 方法

表示屬性的值是否可以針對指定的元件重設。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Public Overrides Function CanResetValue ( _
    component As Object _
) As Boolean
public override bool CanResetValue(
    Object component
)
public:
virtual bool CanResetValue(
    Object^ component
) override
abstract CanResetValue : 
        component:Object -> bool  
override CanResetValue : 
        component:Object -> bool
public override function CanResetValue(
    component : Object
) : boolean

參數

  • component
    類型:Object

    驗證的元件可以值是否可以重設。

傳回值

類型:Boolean
true ,如果值可以重設,否則 false。

.NET Framework 安全性

請參閱

參考

DataViewPropertyDescriptor 類別

Microsoft.VisualStudio.Data.Framework 命名空間