ProvideAutoLoadAttribute Constructors

Definition

Overloads

ProvideAutoLoadAttribute(String)

Specify that the package should get loaded when this context is active.

ProvideAutoLoadAttribute(String, PackageAutoLoadFlags)

Specify that the package should get loaded when this context is active.

ProvideAutoLoadAttribute(String)

Specify that the package should get loaded when this context is active.

public:
 ProvideAutoLoadAttribute(System::String ^ cmdUiContextGuid);
public:
 ProvideAutoLoadAttribute(Platform::String ^ cmdUiContextGuid);
 ProvideAutoLoadAttribute(std::wstring const & cmdUiContextGuid);
public ProvideAutoLoadAttribute (string cmdUiContextGuid);
new Microsoft.VisualStudio.Shell.ProvideAutoLoadAttribute : string -> Microsoft.VisualStudio.Shell.ProvideAutoLoadAttribute
Public Sub New (cmdUiContextGuid As String)

Parameters

cmdUiContextGuid
String

Context which should trigger the loading of your package.

Remarks

Exceptions

Throws ArgumentException if cmdUiContextGuid cannot be converted to a GUID.

Applies to

ProvideAutoLoadAttribute(String, PackageAutoLoadFlags)

Specify that the package should get loaded when this context is active.

 ProvideAutoLoadAttribute(std::wstring const & cmdUiContextGuid, Microsoft::VisualStudio::Shell::PackageAutoLoadFlags flags = Microsoft.VisualStudio.Shell.PackageAutoLoadFlags.None);
public ProvideAutoLoadAttribute (string cmdUiContextGuid, Microsoft.VisualStudio.Shell.PackageAutoLoadFlags flags = Microsoft.VisualStudio.Shell.PackageAutoLoadFlags.None);
new Microsoft.VisualStudio.Shell.ProvideAutoLoadAttribute : string * Microsoft.VisualStudio.Shell.PackageAutoLoadFlags -> Microsoft.VisualStudio.Shell.ProvideAutoLoadAttribute
Public Sub New (cmdUiContextGuid As String, Optional flags As PackageAutoLoadFlags = Microsoft.VisualStudio.Shell.PackageAutoLoadFlags.None)

Parameters

cmdUiContextGuid
String

Context which should trigger the loading of your package.

flags
PackageAutoLoadFlags

The options.

Applies to