ProvideAutoLoadAttribute Constructor

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

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

Syntax

'Declaration
Public Sub New ( _
    cmdUiContextGuid As String _
)
public ProvideAutoLoadAttribute(
    string cmdUiContextGuid
)
public:
ProvideAutoLoadAttribute(
    String^ cmdUiContextGuid
)
new : 
        cmdUiContextGuid:string -> ProvideAutoLoadAttribute
public function ProvideAutoLoadAttribute(
    cmdUiContextGuid : String
)

Parameters

  • cmdUiContextGuid
    Type: 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