Returns a new instance of this attribute with the specified cmdUiContextGuid.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub New ( _
cmdUiContextGuid As String _
)
'使用
Dim cmdUiContextGuid As String
Dim instance As New ProvideAutoLoadAttribute(cmdUiContextGuid)
public ProvideAutoLoadAttribute(
string cmdUiContextGuid
)
public:
ProvideAutoLoadAttribute(
String^ cmdUiContextGuid
)
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.
Permissions
- 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