Udostępnij za pośrednictwem


IAppxManifestDesignerService.OpenAppxManifestDesigner Method

Definition

Provides programmatic access to a project's app manifest file by openingthe Manifest Designer and optionally opening the specified Manifest Designer Tab.

int OpenAppxManifestDesigner(Microsoft::VisualStudio::Shell::Interop::IVsDocumentLockHolder const & documentHandle, Microsoft::VisualStudio::Shell::Interop::AppxManifestDesignerTab tab);
public int OpenAppxManifestDesigner (Microsoft.VisualStudio.Shell.Interop.IVsDocumentLockHolder documentHandle, Microsoft.VisualStudio.Shell.Interop.AppxManifestDesignerTab tab);
abstract member OpenAppxManifestDesigner : Microsoft.VisualStudio.Shell.Interop.IVsDocumentLockHolder * Microsoft.VisualStudio.Shell.Interop.AppxManifestDesignerTab -> int
Public Function OpenAppxManifestDesigner (documentHandle As IVsDocumentLockHolder, Optional tab As AppxManifestDesignerTab) As Integer

Parameters

documentHandle
IVsDocumentLockHolder

[in] The document handle. Can be either IVsHierarchy or EnvDTE.Project.

tab
AppxManifestDesignerTab

[in, optional] Specifies which tab has focus after opening.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to