_Categories.Remove(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an object from the collection.
public:
void Remove(System::Object ^ Index);
public void Remove (object Index);
Public Sub Remove (Index As Object)
Parameters
- Index
- Object
Either an Integer (int in C#) value representing the index number of the object, or a String (string in C#) value representing either the Name or CategoryID property value of an object in the collection.
Remarks
If the name of a category is specified in Index
, this method removes the first Category object that matches the specified value.