ProjectHostItem.IVstaProjectHostItem.AddMethod Method

For a description of this member, see IVstaProjectHostItem.AddMethod.

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 Sub AddMethod ( _
    method As CodeMemberMethod _
) Implements IVstaProjectHostItem.AddMethod
'Usage
Dim instance As ProjectHostItem 
Dim method As CodeMemberMethod 

CType(instance, IVstaProjectHostItem).AddMethod(method)
void IVstaProjectHostItem.AddMethod(
    CodeMemberMethod method
)
private:
virtual void AddMethod(
    CodeMemberMethod^ method
) sealed = IVstaProjectHostItem::AddMethod
JScript does not support explicit interface implementations.

Parameters

Implements

IVstaProjectHostItem.AddMethod(CodeMemberMethod)

Remarks

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

.NET Framework Security

See Also

Reference

ProjectHostItem Class

ProjectHostItem Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace