ProjectHostItemCollection.IVstaProjectHostItemCollection.AddProjectHostItem Method (String, String, String, String, String)

For a description of this member, see IVstaProjectHostItemCollection.AddProjectHostItem.

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

'Declaration
Private Function AddProjectHostItem ( _
    name As String, _
    baseType As String, _
    interfaceType As String, _
    cookie As String, _
    templatePath As String _
) As IVstaProjectHostItem Implements IVstaProjectHostItemCollection.AddProjectHostItem
'Usage
Dim instance As ProjectHostItemCollection 
Dim name As String 
Dim baseType As String 
Dim interfaceType As String 
Dim cookie As String 
Dim templatePath As String 
Dim returnValue As IVstaProjectHostItem 

returnValue = CType(instance, IVstaProjectHostItemCollection).AddProjectHostItem(name, _
    baseType, interfaceType, cookie, _
    templatePath)
IVstaProjectHostItem IVstaProjectHostItemCollection.AddProjectHostItem(
    string name,
    string baseType,
    string interfaceType,
    string cookie,
    string templatePath
)
private:
virtual IVstaProjectHostItem^ AddProjectHostItem(
    String^ name, 
    String^ baseType, 
    String^ interfaceType, 
    String^ cookie, 
    String^ templatePath
) sealed = IVstaProjectHostItemCollection::AddProjectHostItem
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop.IVstaProjectHostItem

Implements

IVstaProjectHostItemCollection.AddProjectHostItem(String, String, String, String, String)

Remarks

This member is an explicit interface implementation. It can be used only when the ProjectHostItemCollection instance is cast to an IVstaProjectHostItemCollection interface.

.NET Framework Security

See Also

Reference

ProjectHostItemCollection Class

ProjectHostItemCollection Members

ProjectHostItemCollection Overload

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace