IVstaIdentifierCollection.Add Method
Adds the identifier for a host object to the collection.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Function Add ( _
identifier As String _
) As Integer
'Usage
Dim instance As IVstaIdentifierCollection
Dim identifier As String
Dim returnValue As Integer
returnValue = instance.Add(identifier)
int Add(
string identifier
)
int Add(
String^ identifier
)
function Add(
identifier : String
) : int
Parameters
identifier
Type: System.StringThe variable name of the host object.
Return Value
Type: System.Int32
.NET Framework Security
- 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.
See Also
Reference
IVstaIdentifierCollection Interface
IVstaIdentifierCollection Members
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace