ProvideMSBuildTargetsAttribute::Register Method (RegistrationAttribute::RegistrationContext^)
Visual Studio 2015
Obsolete. Do not use.
Registers this attribute with the given context.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: virtual void Register( RegistrationAttribute::RegistrationContext^ context ) override
Parameters
- context
-
Type:
Microsoft.VisualStudio.Shell::RegistrationAttribute::RegistrationContext^
A RegistrationAttribute::RegistrationContext provided by an external registration tool. The context can be used to create registry keys, log registration activity, and obtain information about the component being registered.
| Exception | Condition |
|---|---|
| ArgumentNullException | This exception is thrown if context is null. |
The context contains the location where the registration information should be placed. It also contains other information, such as the type being registered and path information.
Show: