BaseTuip.UpdateTestCustomProperty Method
Updates the value of a custom property by using the provided test element.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'Декларация
Public Overridable Sub UpdateTestCustomProperty ( _
test As ITestElement, _
property As String _
)
public virtual void UpdateTestCustomProperty(
ITestElement test,
string property
)
public:
virtual void UpdateTestCustomProperty(
ITestElement^ test,
String^ property
)
abstract UpdateTestCustomProperty :
test:ITestElement *
property:string -> unit
override UpdateTestCustomProperty :
test:ITestElement *
property:string -> unit
public function UpdateTestCustomProperty(
test : ITestElement,
property : String
)
Parameters
- test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
An ITestElement object.
- property
Type: System.String
The name of the property to update.
Implements
ITuip.UpdateTestCustomProperty(ITestElement, String)
Remarks
The property value has already been set in the provided test element.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.