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: StringThe element name to use in persistence.
.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.