System::Text::RegularExpressions::CaptureCollection class

CaptureCollection class

List of captures done by single capturing group. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class CaptureCollection : public System::Collections::Generic::List<CapturePtr>

Methods

MethodDescription
Add(const CapturePtr&) overrideDisables collection ammendment.
AddCapture(const CapturePtr&)Service method to add capture into collection.
Clear() overrideDisables cleaning collection.
get_Count() const overrideGets number of captures.
get_IsReadOnly() const overrideMarks collection as read-only.
get_IsSynchronized() constMarks collection as unsynchronized.
Remove(const CapturePtr&) overrideDisables collection ammendment.

Typedefs

TypedefDescription
BaseBase type.

See Also