VirtualTypeBuilder.FieldInfoCollection.Add Method (FieldInfo)
Adds a FieldInfo 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 FieldInfo _
) As Integer
public int Add(
FieldInfo value
)
public:
int Add(
FieldInfo^ value
)
member Add :
value:FieldInfo -> int
public function Add(
value : FieldInfo
) : int
Parameters
value
Type: FieldInfoThe FieldInfo to be added to the end of the collection.
Return Value
Type: 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.