ProvideAutoLoadAttribute Constructor
Returns a new instance of this attribute with the specified cmdUiContextGuid.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Déclaration
Public Sub New ( _
cmdUiContextGuid As String _
)
'Utilisation
Dim cmdUiContextGuid As String
Dim instance As New ProvideAutoLoadAttribute(cmdUiContextGuid)
public ProvideAutoLoadAttribute(
string cmdUiContextGuid
)
public:
ProvideAutoLoadAttribute(
String^ cmdUiContextGuid
)
new :
cmdUiContextGuid:string -> ProvideAutoLoadAttribute
public function ProvideAutoLoadAttribute(
cmdUiContextGuid : String
)
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.
See Also
Reference
ProvideAutoLoadAttribute Class