Add Method
See Also 
SourceCode.Framework Namespace > IProjectCollection Interface : Add Method



item
The project to add.

Glossary Item Box

When implemented by a class, adds the specified project to the collection.

Syntax

Visual Basic (Declaration) 
Function Add( _
   ByVal item As IProject _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As IProjectCollection
Dim item As IProject
Dim value As Integer
 
value = instance.Add(item)
C# 
int Add( 
   IProject item
)
C++/CLI 
int Add( 
   IProject^ item
) 

Parameters

item
The project to add.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also