PdfDictionary.ValueCollection Class
Represents the collection of values in a PdfDictionary.
public sealed class ValueCollection : ICollection<PdfBasicObject>, IEnumerable<PdfBasicObject>, ICollection, IEnumerable
Public NotInheritable Class ValueCollection
Implements ICollection(Of PdfBasicObject), IEnumerable(Of PdfBasicObject), ICollection, IEnumerable
- Inheritance:
- System.ObjectPdfDictionary.ValueCollection
Implements
Properties
Count
Gets the number of PdfBasicObjects contained in the PdfDictionary.ValueCollection.
Property Value
- System.Int32
The number of PdfBasicObjects contained in the PdfDictionary.ValueCollection
Methods
CopyTo(PdfBasicObject[], Int32)
Copies the PdfDictionary.ValueCollection elements to an existing one-dimensional System.Array, starting at the specified array index.
public void CopyTo(PdfBasicObject[] array, int arrayIndex)
Public Sub CopyTo(array As PdfBasicObject(), arrayIndex As Integer)
Parameters
array
- PdfBasicObject[]
The one-dimensional System.Array that is the destination of the PdfBasicObjects copied from PdfDictionary.ValueCollection. The System.Array must have zero-based indexing.
arrayIndex
- System.Int32
The zero-based index in array
at which copying begins.
Exceptions
- System.ArgumentNullException
array
is null.
- System.ArgumentOutOfRangeException
arrayIndex
is less than zero.
- System.ArgumentException
The number of elements in the source PdfDictionary.ValueCollection is greater than the available space from arrayIndex
to the end of the destination array
.
GetEnumerator()
Returns an enumerator that iterates through the PdfDictionary.ValueCollection.
public PdfDictionary.ValueCollection.Enumerator GetEnumerator()
Public Function GetEnumerator As PdfDictionary.ValueCollection.Enumerator