IPersistXMLFragment.InitNew Method (Guid, UInt32)

 

Initializes the project extension properties and other build-independent data.

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

abstract InitNew : 
        guidFlavor:Guid byref *
        storage:uint32 -> int

Parameters

guidFlavor
Type: System.Guid

[in] Specifies the GUID of the project subtype.

storage
Type: System.UInt32

[in] Specifies the storage type used for persisting files. Values are taken from the _PersistStorageType enumeration. The file type is either project file (.vsproj or .vbproj) or user file (.vsproj.user or .vbproj.user).

Return Value

Type: System.Int32

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

From vsshell80.idl:

HRESULT IPersistXMLFragment::InitNew(
   [in] REFGUID guidFlavor,
   [in] PersistStorageType storage
);

 

Return to top
Show: