RegisterAutoLoadAttribute Constructor

Creates a new RegisterAutoLoadAttribute object and saves the GUID of the package that initiated package loading.

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 RegisterAutoLoadAttribute(cmdUiContextGuid)
public RegisterAutoLoadAttribute(
    string cmdUiContextGuid
)
public:
RegisterAutoLoadAttribute(
    String^ cmdUiContextGuid
)
new : 
        cmdUiContextGuid:string -> RegisterAutoLoadAttribute
public function RegisterAutoLoadAttribute(
    cmdUiContextGuid : String
)

Parameters

  • cmdUiContextGuid
    Type: System.String
    Context GUID that triggers the loading of the VSPackage

.NET Framework Security

See Also

Reference

RegisterAutoLoadAttribute Class

RegisterAutoLoadAttribute Members

Microsoft.VisualStudio.Shell Namespace