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
- name
Type: System.String
- baseType
Type: System.String
- interfaceType
Type: System.String
- cookie
Type: System.String
- templatePath
Type: System.String
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
- 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
ProjectHostItemCollection Class
ProjectHostItemCollection Members
ProjectHostItemCollection Overload
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace