共用方式為


VSConstants.LOGVIEWID_Primary Field

GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to OpenStandardEditor method to get the Open With dialog, in this case the default/primary view of the editor factory.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared ReadOnly LOGVIEWID_Primary As Guid
public static readonly Guid LOGVIEWID_Primary
public:
static initonly Guid LOGVIEWID_Primary
static val LOGVIEWID_Primary: Guid
public static final var LOGVIEWID_Primary : Guid

.NET Framework Security

See Also

Reference

VSConstants Class

Microsoft.VisualStudio Namespace