TestCase.SetSubject Method (String)
Applies To: Windows 8.1
Sets the Subject of the TestCase.
Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)
Usage
'Usage
Dim instance As TestCase
Dim className As String
Dim returnValue As Subject
returnValue = instance.SetSubject(className)
Syntax
'Declaration
Public Function SetSubject ( _
className As String _
) As Subject
public Subject SetSubject (
string className
)
public:
Subject^ SetSubject (
String^ className
)
public Subject SetSubject (
String className
)
public function SetSubject (
className : String
) : Subject
Parameters
- className
The class name of the Subject.
Return Value
Returns Subject.
Remarks
The class name is the value of element TestCase/Subject/Class/ProgrammaticName.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 8.1
See Also
Reference
TestCase Class
TestCase Members
Microsoft.Assessments.Runtime Namespace