Share via


NameAttribute Constructor

Initializes a new instance of NameAttribute.

Namespace:  Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)

Syntax

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

Parameters

  • name
    Type: System.String
    The name of the editor extension part.

Exceptions

Exception Condition
ArgumentNullException

name is nulla null reference (Nothing in Visual Basic).

ArgumentException

name is an empty string.

.NET Framework Security

See Also

Reference

NameAttribute Class

Microsoft.VisualStudio.Utilities Namespace