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)
'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
identifier
Type: System.StringName of the host item or host object to add to the IdentifierCollection.
Type: System.Int32
The position into which the new element was inserted.
- 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.
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace