IPersistXMLFragment.InitNew Method (Guid, UInt32)
Visual Studio 2015
Initializes the project extension properties and other build-independent data.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
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.Int32If 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 );
Show: