Share this page

SetPropertyValue<T> Method
Sets the value of the specified property in this property grid control.
Remarks
Applicable only to a simple value. To change a value of a custom control value in a property grid, try to create a test object for the custom control and use it to change the value.

C# Syntax

    void SetPropertyValue<T>(
       string propertyPath,
       T newPropertyValue
    )
    where T: IConvertible

Parameters

propertyPath
  The path of the property.
newPropertyValue
  The new value of the property.

Type Parameters

T
  The type of the property value.

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: