EntryPointCollection.Add Method (2003 System)
Adds a new EntryPoint to the end of the collection.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
Public Function Add ( _
className As String _
) As EntryPoint
'Usage
Dim instance As EntryPointCollection
Dim className As String
Dim returnValue As EntryPoint
returnValue = instance.Add(className)
public EntryPoint Add(
string className
)
Parameters
- className
Type: System.String
The name of the class to invoke when the Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0) solution runs.
Return Value
Type: Microsoft.VisualStudio.Tools.Applications.Runtime.EntryPoint
The EntryPoint that was added to the end of the collection.
Remarks
To add an EntryPoint to the collection at a specific index location, use the Insert method.
Permissions
- 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.