VirtualTypeBuilder.FieldInfoCollection.Remove Method
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
'Déclaration
Public Sub Remove ( _
value As FieldInfo _
)
'Utilisation
Dim instance As VirtualTypeBuilder..::..FieldInfoCollection
Dim value As FieldInfo
instance.Remove(value)
public void Remove(
FieldInfo value
)
public:
void Remove(
FieldInfo^ value
)
member Remove :
value:FieldInfo -> unit
public function Remove(
value : FieldInfo
)
Parameters
- value
Type: System.Reflection.FieldInfo
The FieldInfo to remove from the collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | value is nulla null reference (Nothing in Visual Basic). |
.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.
See Also
Reference
VirtualTypeBuilder.FieldInfoCollection Class