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



item
The file to add.

Glossary Item Box

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

Syntax

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

Parameters

item
The file 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