VsCatalogNameAttribute Constructor (String)
Constructor for the attribute.
Namespace: Microsoft.VisualStudio.ExtensibilityHosting
Assembly: Microsoft.VisualStudio.ExtensibilityHosting (in Microsoft.VisualStudio.ExtensibilityHosting.dll)
Syntax
'Declaration
Public Sub New ( _
catalogName As String _
)
public VsCatalogNameAttribute(
string catalogName
)
public:
VsCatalogNameAttribute(
String^ catalogName
)
new :
catalogName:string -> VsCatalogNameAttribute
public function VsCatalogNameAttribute(
catalogName : String
)
Parameters
catalogName
Type: StringName of the catalog. Usually follows the namespace naming convention, for example "Microsoft.VisualStudio.TextEditor". This name can then be used in calls to GetCatalog to get the catalog's instance.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when catalogName argument is null. |
ArgumentException | Thrown when catalogName argument 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.