<PackageReference Include="System.Security.Cryptography.Xml" Version="11.0.0-preview.6.26359.118" />

System.Security.Cryptography.Xml.ReferenceList

public sealed class ReferenceList : IList, ICollection, IEnumerable
Represents the <ReferenceList> element used in XML encryption. This class cannot be inherited.
public int Count { get; }

Gets the number of elements contained in the ReferenceList object.

public bool IsSynchronized { get; }

Gets a value that indicates whether access to the ReferenceList object is synchronized (thread safe).

public EncryptedReference this[int index] { get; set; }

Gets or sets the DataReference or KeyReference object at the specified index.

public object SyncRoot { get; }

Gets an object that can be used to synchronize access to the ReferenceList object.

public ReferenceList()

Initializes a new instance of the ReferenceList class.

public int Add(object value)

Adds a DataReference or KeyReference object to the ReferenceList collection.

public void Clear()

Removes all items from the ReferenceList collection.

public bool Contains(object value)

Determines whether the ReferenceList collection contains a specific DataReference or KeyReference object.

public void CopyTo(Array array, int index)

Copies the elements of the ReferenceList object to an array, starting at a specified array index.

Returns an enumerator that iterates through a ReferenceList collection.

public int IndexOf(object value)

Determines the index of a specific item in the ReferenceList collection.

public void Insert(int index, object value)

Inserts a DataReference or KeyReference object into the ReferenceList collection at the specified position.

public EncryptedReference Item(int index)

Returns the DataReference or KeyReference object at the specified index.

public void Remove(object value)

Removes the first occurrence of a specific DataReference or KeyReference object from the ReferenceList collection.

public void RemoveAt(int index)

Removes the DataReference or KeyReference object at the specified index.