Share via


IdentifierCollection.Add Method

Adds an identifier (host item or host object) to the IdentifierCollection.

Namespace:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)

Syntax

'Declaration
Public Function Add ( _
    identifier As String _
) As Integer
'Usage
Dim instance As IdentifierCollection 
Dim identifier As String 
Dim returnValue As Integer 

returnValue = instance.Add(identifier)
public int Add(
    string identifier
)
public:
int Add(
    String^ identifier
)
public function Add(
    identifier : String
) : int

Parameters

Return Value

Type: System.Int32
The position into which the new element was inserted.

.NET Framework Security

See Also

Reference

IdentifierCollection Class

IdentifierCollection Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace