共用方式為


VirtualTypeBuilder.MethodInfoCollection.Add Method (MethodInfo)

Adds a MethodInfo to the end of the collection.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣告
Public Function Add ( _
    value As MethodInfo _
) As Integer
public int Add(
    MethodInfo value
)

Parameters

Return Value

Type: System.Int32
The index at which the value has been added.

.NET Framework Security

See Also

Reference

VirtualTypeBuilder.MethodInfoCollection Class

Add Overload

Microsoft.VisualStudio.Shell.Design Namespace