IAppxManifestDesignerService2 Interface

Provides programmatic access to a project's .appxmanifext file. You can use it to open a DocData object provided by the Manifest Designer, ensure that it is registered in the running document table (RDT), and return a document handle object that implements two interfaces: IVsDocumentLockHolder and IVsInvisibleEditor. This forces any existing document window to close, and causes the returned document handle to hold a RDT_EditLock. When you need to keep the document handle for longer periods of time, cast it to IVsInvisibleEditor and use GetDocData to get a pointer to a fresh object model. When finished with the document handle, always call IVsDocumentLockHolder.CloseDocumentHolder(), usually passing (uint)__FRAMECLOSE.FRAMECLOSE_SaveIfDirty as the save option.

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

Syntax

'Declaration
<GuidAttribute("11FC8AAC-1EE7-455E-9DBC-9A57CF727BC7")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IAppxManifestDesignerService2 _
    Inherits IAppxManifestDesignerService
[GuidAttribute("11FC8AAC-1EE7-455E-9DBC-9A57CF727BC7")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IAppxManifestDesignerService2 : IAppxManifestDesignerService
[GuidAttribute(L"11FC8AAC-1EE7-455E-9DBC-9A57CF727BC7")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IAppxManifestDesignerService2 : IAppxManifestDesignerService
[<GuidAttribute("11FC8AAC-1EE7-455E-9DBC-9A57CF727BC7")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IAppxManifestDesignerService2 =  
    interface 
        interface IAppxManifestDesignerService 
    end
public interface IAppxManifestDesignerService2 extends IAppxManifestDesignerService

The IAppxManifestDesignerService2 type exposes the following members.

Methods

  Name Description
Public method OpenAppxManifestDesigner Opens the .appxmanifest designer.
Public method OpenAppxManifestDocument(Object, IVsDocumentLockHolder%, IAppxManifestDocument%) Opens the .appxmanifest file in the specified project.
Public method OpenAppxManifestDocument(Object, UInt32, IVsDocumentLockHolder%, IAppxManifestDocument2%) Opens the .appxmanifest file in the specified file.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace