ToolboxItem.FilterPropertyValue(String, Object) 方法

定義

在傳回前篩選屬性值。

protected:
 virtual System::Object ^ FilterPropertyValue(System::String ^ propertyName, System::Object ^ value);
protected virtual object FilterPropertyValue (string propertyName, object value);
protected virtual object? FilterPropertyValue (string propertyName, object? value);
abstract member FilterPropertyValue : string * obj -> obj
override this.FilterPropertyValue : string * obj -> obj
Protected Overridable Function FilterPropertyValue (propertyName As String, value As Object) As Object

參數

propertyName
String

要篩選的屬性名稱。

value
Object

篩選屬性時要根據的值。

傳回

篩選的屬性值。

備註

方法 FilterPropertyValue 可讓屬性一律複製值,或在不存在時提供預設值。

適用於