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
- 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.