Memory |
public class MemoryValue : AttributeValue
The MemoryValue type exposes the following members.
| Name | Description | |
|---|---|---|
| MemoryValue | Constructs an attribute value. |
| Name | Description | |
|---|---|---|
| Address | Returns the address of the underlying shared memory segment. | |
| AttributeId |
Attribute ID.
(Inherited from AttributeProperties) | |
| Dimensions |
The dimensions of the value (or null).
(Overrides AttributeValueDimensions) | |
| Dynamic |
True if the value size is dynamic.
(Inherited from AttributeProperties) | |
| FixedSize |
True if the value size is fixed.
(Inherited from AttributeProperties) | |
| Flags |
Attribute value flags.
(Inherited from AttributeProperties) | |
| GetAttributesAll |
The attribute data is returned in a GetAttributesAll request.
(Inherited from AttributeProperties) | |
| Gettable |
True if protocol attribute-get requests are allowed.
(Inherited from AttributeProperties) | |
| IgnoreSet |
True if protocol attribute-set requests are allowed, but should be ignored.
(Inherited from AttributeProperties) | |
| MaxDataSize | The maximum size of the value (or 0 if not known). | |
| NotSupported |
The attribute is not supported.
(Inherited from AttributeProperties) | |
| NumBytes |
The number of bytes of attribute data (or -1).
(Inherited from AttributeValue) | |
| Settable |
True if protocol attribute-set requests are allowed.
(Inherited from AttributeProperties) |
| Name | Description | |
|---|---|---|
| AddOnAttributeValueRebuilt | Add a handler for the OnAttributeValueRebuilt event. | |
| AddOnAttributeValueSet |
Add a handler for the OnAttributeValueSet event.
(Inherited from AttributeValue) | |
| NotifyAttributeValueSet |
Raises the OnAttributeValueSet event.
(Inherited from AttributeValue) | |
| ReadByte |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadByte) | |
| ReadBytes(ArraySegmentByte) |
Read data out of the attribute value into the specified buffer.
(Overrides AttributeValueReadBytes(ArraySegmentByte)) | |
| ReadBytes(Int32) |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadBytes(Int32)) | |
| ReadDoubleLE |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadDoubleLE) | |
| ReadInt16LE |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadInt16LE) | |
| ReadInt32LE |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadInt32LE) | |
| ReadInt64LE |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadInt64LE) | |
| ReadSingleLE |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadSingleLE) | |
| ReadString |
Reads the attribute value from the specified offset and returns the data as a value.
(Overrides AttributeValueReadString(BinaryTextEncoding)) | |
| ReadUInt16LE |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadUInt16LE) | |
| ReadUInt32LE |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadUInt32LE) | |
| ReadUInt64LE |
Reads the attribute value and returns the data as a value.
(Overrides AttributeValueReadUInt64LE) | |
| RemoveOnAttributeValueRebuilt | Remove a handler from the OnAttributeValueRebuilt event. | |
| RemoveOnAttributeValueSet |
Remove a handler from the OnAttributeValueSet event.
(Inherited from AttributeValue) | |
| SetAllocator | Initialize the value, by setting the memory allocator. | |
| SetMemory | Initialize or redirect memory allocated to this attribute value. | |
| WriteByte |
Write a value to the attribute value.
(Overrides AttributeValueWriteByte(Byte)) | |
| WriteBytes |
Write data into the attribute value from the specified buffer.
(Overrides AttributeValueWriteBytes(ArraySegmentByte)) | |
| WriteDoubleLE |
Write a value to the attribute value.
(Overrides AttributeValueWriteDoubleLE(Double)) | |
| WriteInt16LE |
Write a value to the attribute value.
(Overrides AttributeValueWriteInt16LE(Int16)) | |
| WriteInt32LE |
Write a value to the attribute value.
(Overrides AttributeValueWriteInt32LE(Int32)) | |
| WriteInt64LE |
Write a value to the attribute value.
(Overrides AttributeValueWriteInt64LE(Int64)) | |
| WriteSingleLE |
Write a value to the attribute value.
(Overrides AttributeValueWriteSingleLE(Single)) | |
| WriteString |
Write a value to the attribute value.
(Overrides AttributeValueWriteString(BinaryString, BinaryTextEncoding)) | |
| WriteUInt16LE |
Write a value to the attribute value.
(Overrides AttributeValueWriteUInt16LE(UInt16)) | |
| WriteUInt32LE |
Write a value to the attribute value.
(Overrides AttributeValueWriteUInt32LE(UInt32)) | |
| WriteUInt64LE |
Write a value to the attribute value.
(Overrides AttributeValueWriteUInt64LE(UInt64)) |
| Name | Description | |
|---|---|---|
| OnAttributeValueRebuilt | Occurs when the attribute value is rebuilt. | |
| OnAttributeValueSet |
Occurs when the attribute value is set, but only under certain circumstances (see remarks).
(Inherited from AttributeValue) |