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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。