IVsCreateAggregateProject.CreateAggregateProject Method
This method is implemented by the environment to create an aggregate project, which in turn creates a system of aggregate vsiptecflavors.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function CreateAggregateProject ( _
pszProjectTypeGuids As String, _
pszFilename As String, _
pszLocation As String, _
pszName As String, _
grfCreateFlags As UInteger, _
ByRef iidProject As Guid, _
<OutAttribute> ByRef ppvProject As IntPtr _
) As Integer
int CreateAggregateProject(
string pszProjectTypeGuids,
string pszFilename,
string pszLocation,
string pszName,
uint grfCreateFlags,
ref Guid iidProject,
out IntPtr ppvProject
)
int CreateAggregateProject(
[InAttribute] String^ pszProjectTypeGuids,
[InAttribute] String^ pszFilename,
[InAttribute] String^ pszLocation,
[InAttribute] String^ pszName,
[InAttribute] unsigned int grfCreateFlags,
[InAttribute] Guid% iidProject,
[OutAttribute] IntPtr% ppvProject
)
abstract CreateAggregateProject :
pszProjectTypeGuids:string *
pszFilename:string *
pszLocation:string *
pszName:string *
grfCreateFlags:uint32 *
iidProject:Guid byref *
ppvProject:IntPtr byref -> int
function CreateAggregateProject(
pszProjectTypeGuids : String,
pszFilename : String,
pszLocation : String,
pszName : String,
grfCreateFlags : uint,
iidProject : Guid,
ppvProject : IntPtr
) : int
Parameters
pszProjectTypeGuids
Type: System.String[in] List of GUIDs in a string that specifies all the project types to aggregate together to create a single project. This is an ordered list from the outer-most vsiptecflavors to the inner-most vsiptecflavors.
pszFilename
Type: System.String[in] Pointer to a null-terminated string containing the project filename.
pszLocation
Type: System.String[in] Pointer to the path specifying the location for the new aggregate project.
pszName
Type: System.String[in] Pointer to the new aggregate project name. This parameter is used only when CPF_CLONEFILE is specified for the grfCreateFlags parameter; otherwise it is nulla null reference (Nothing in Visual Basic).
grfCreateFlags
Type: System.UInt32[in] Controls how a project is created or opened. Values are taken from __VSCREATEPROJFLAGS and __VSCREATEPROJFLAGS2.
iidProject
Type: System.Guid%[in] Interface identifier of the returned ppvProject. This value can be iid_NULL to specify no return
ppvProject
Type: System.IntPtr%[out, iid_is(iidProject)] Pointer to the newly created aggregated project.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsCreateAggregateProject::CreateAggregateProject(
[in] LPCOLESTR pszProjectTypeGuids,
[in] LPCOLESTR pszFilename,
[in] LPCOLESTR pszLocation,
[in] LPCOLESTR pszName,
[in] VSCREATEPROJFLAGS grfCreateFlags,
[in] REFIID iidProject,
[out, iid_is(iidProject)] void **ppvProject
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.