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
'Declaração
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
- 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.