System::Text::RegularExpressions::GroupCollection class

GroupCollection class

List of capture groups in a single match. 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 GroupCollection : public System::Collections::Generic::List<GroupPtr>

Methods

MethodDescription
Add(const GroupPtr&) overrideDisables adding element into collection.
AddGroup(const GroupPtr&)Adds group into collection.
Clear() overrideDisables dropping elements from collection.
get_Item(int) constGroup accessor.
get_Item(const String&) constGroup accessor.
GroupCollection(const WeakPtr<Match>&)Constructor.
virtual idx_get(String) constGroup accessor.
idx_get(int) const overrideGroup accessor.
IsReadOnly() constMarks collection as read-only.
operator[](const String&) constGroup accessor.
Remove(const GroupPtr&) overrideDisables removing element from collection.

Typedefs

TypedefDescription
BaseBase class.

See Also