Removes the first occurrence of a specific FieldInfo from the collection.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public Sub Remove ( _
value As FieldInfo _
)
'使用
Dim instance As VirtualTypeBuilder..::.FieldInfoCollection
Dim value As FieldInfo
instance.Remove(value)
public void Remove(
FieldInfo value
)
public:
void Remove(
FieldInfo^ value
)
public function Remove(
value : FieldInfo
)
Parameters
value
Type: System.Reflection.FieldInfoThe FieldInfo to remove from the collection.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | value is a null reference (Nothing in Visual Basic). |
Permissions
- 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
VirtualTypeBuilder.FieldInfoCollection Class