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

声明
Public Sub New ( _
    cmdUiContextGuid As String _
)
用法
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

See Also

Reference

ProvideAutoLoadAttribute Class

ProvideAutoLoadAttribute Members

Microsoft.VisualStudio.Shell Namespace