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



item
The reference to add.

Glossary Item Box

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

Syntax

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

Parameters

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