Freigeben über


ProvideAutoLoadAttribute Constructor

Returns a new instance of this attribute with the specified cmdUiContextGuid.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    cmdUiContextGuid As String _
)
public ProvideAutoLoadAttribute(
    string cmdUiContextGuid
)

Parameters

  • cmdUiContextGuid
    Type: System.String
    The GUID of the command context which will cause this package to load.

Remarks

Exceptions

Throws ArgumentException if cmdUiContextGuid cannot be converted to a GUID.

.NET Framework Security

See Also

Reference

ProvideAutoLoadAttribute Class

Microsoft.VisualStudio.Shell Namespace