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
'Declaration
Public Function Add ( _
value As MethodInfo _
) As Integer
public int Add(
MethodInfo value
)
public:
int Add(
MethodInfo^ value
)
member Add :
value:MethodInfo -> int
public function Add(
value : MethodInfo
) : int
Parameters
value
Type: System.Reflection.MethodInfoThe MethodInfo to be added to the end of the collection.
Return Value
Type: System.Int32
The index at which the value has been added.
.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.