Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
)
public:
ProvideAutoLoadAttribute(
    String^ cmdUiContextGuid
)
new : 
        cmdUiContextGuid:string -> ProvideAutoLoadAttribute
public function ProvideAutoLoadAttribute(
    cmdUiContextGuid : String
)
Parameters
cmdUiContextGuid
Type: System.StringThe 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
- 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.