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
‘사용 방법
Dim instance As VirtualTypeBuilder..::..MethodInfoCollection
Dim value As MethodInfo
Dim returnValue As Integer

returnValue = instance.Add(value)
public int Add(
    MethodInfo value
)
public:
int Add(
    MethodInfo^ value
)
member Add : 
        value:MethodInfo -> int 
public function Add(
    value : MethodInfo
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

VirtualTypeBuilder.MethodInfoCollection Class

VirtualTypeBuilder.MethodInfoCollection Members

Add Overload

Microsoft.VisualStudio.Shell.Design Namespace