Compartilhar via


OwnerAttribute Constructor

Initializes a new instance of the OwnerAttribute class that uses an owner name.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    owner As String _
)
public OwnerAttribute(
    string owner
)
public:
OwnerAttribute(
    String^ owner
)
new : 
        owner:string -> OwnerAttribute
public function OwnerAttribute(
    owner : String
)

Parameters

  • owner
    Type: String

    The owner of the test.

.NET Framework Security

See Also

Reference

OwnerAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace