ITuip.UpdateTestCustomProperty Method
Sets the value of the specified custom property in the provided test element.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣告
Sub UpdateTestCustomProperty ( _
test As ITestElement, _
propertyToChange As String _
)
void UpdateTestCustomProperty(
ITestElement test,
string propertyToChange
)
void UpdateTestCustomProperty(
ITestElement^ test,
String^ propertyToChange
)
abstract UpdateTestCustomProperty :
test:ITestElement *
propertyToChange:string -> unit
function UpdateTestCustomProperty(
test : ITestElement,
propertyToChange : String
)
Parameters
- test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
The ITestElement object to be updated.
- propertyToChange
Type: System.String
The name of the custom property to set.
.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.