Share via


PersistenceElementNameAttribute Constructor

Initializes a new instance of the PersistenceElementNameAttribute class by using the provided name.

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

Syntax

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

Parameters

  • name
    Type: System.String
    The element name to use in persistence.

.NET Framework Security

See Also

Reference

PersistenceElementNameAttribute Class

Microsoft.VisualStudio.TestTools.Common Namespace