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
- method
Type: System.CodeDom.CodeMemberMethod
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
- 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
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace