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 使属性始终克隆值,或者在不存在值时提供默认值。

适用于