Share via


DkmReadOnlyByteCollection Class

Definition

An implementation of ReadOnlyCollection that can provide a pointer to the underlying native memory. Currently this class is only used for ReadOnlyCollections storing bytes when the value is passed through a Concord API call.

public ref class DkmReadOnlyByteCollection sealed : System::Collections::ObjectModel::ReadOnlyCollection<System::Byte>, System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class DkmReadOnlyByteCollection : System.Collections.ObjectModel.ReadOnlyCollection<byte>, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type DkmReadOnlyByteCollection = class
    inherit ReadOnlyCollection<byte>
    interface ISerializable
Public NotInheritable Class DkmReadOnlyByteCollection
Inherits ReadOnlyCollection(Of Byte)
Implements ISerializable
Inheritance
DkmReadOnlyByteCollection
Attributes
Implements

Constructors

DkmReadOnlyByteCollection(SerializationInfo, StreamingContext)

Initializes a new instance of the DkmReadOnlyByteCollection from serialized data

Properties

ItemsPtr

Gets a pointer to the native items buffer. The marshalling code assumes the collection is read only. Modifications to the buffer will have unpredictable effects. The pointer will not be available if this object has been serialized.

The buffer may be released when this object is garbage collected.

Methods

GetObjectData(SerializationInfo, StreamingContext)

ISerializable implementation. Serialization requires copying the collection into the managed heap

Applies to