編輯

共用方式為


_Categories.Remove(Object) Method

Definition

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.

Applies to