ToolboxItem.FilterPropertyValue(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Filters a property value before returning it.
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
Parameters
- propertyName
- String
The name of the property to filter.
- value
- Object
The value against which to filter the property.
Returns
A filtered property value.
Remarks
The FilterPropertyValue method enables a property to always clone values, or to provide a default value when none exists.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.