ToolboxItem.FilterPropertyValue(String, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在返回之前筛选属性值。
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 使属性始终克隆值,或者在不存在值时提供默认值。