Class IDCollection
- Namespace
- Dynamicweb.Security.UserManagement
- Assembly
- Dynamicweb.Security.dll
Represents a collection of unique IDs.
public class IDCollection : List<int>, IList<int>, ICollection<int>, IReadOnlyList<int>, IReadOnlyCollection<int>, IEnumerable<int>, IList, ICollection, IEnumerable
- Inheritance
-
IDCollection
- Implements
- Inherited Members
- Extension Methods
Methods
Add(string)
Adds specified IDs to collection.
public void Add(string ids)
Parameters
ids
string- Comma-separated string of IDs to add.
Add(string, bool)
Adds specified IDs to collection.
public void Add(string ids, bool skipExisting)
Parameters
ids
string- Comma-separated string of IDs to add.
skipExisting
bool- Value indicating whether to skip existing items.
LoadFromString(string)
Loads specified IDs into collection.
public void LoadFromString(string ids)
Parameters
ids
string- Comma-separated string of IDs to add.
ToString()
Returns a comma-separated string of collection items.
public override string ToString()