Click or drag to resize

MemoryAddress Class

A memory address.
Inheritance Hierarchy

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class MemoryAddress : StringAddress, 
	IEquatable<MemoryAddress>, IComparable<MemoryAddress>, IComparable

The MemoryAddress type exposes the following members.

Constructors
  NameDescription
Protected methodMemoryAddress
Constructs a default MemoryAddress.
Protected methodMemoryAddress(IAddressSpace)
Constructs the empty TypedMemoryAddress.
Public methodMemoryAddress(IAddressSpace, AddressArea)
Constructs a MemoryAddress.
Public methodMemoryAddress(IAddressSpace, Int64, Int64)
Constructs a MemoryAddress.
Top
Properties
  NameDescription
Public propertyAccessName
A string representation of this address.
(Overrides StringAddressAccessName.)
Public propertyAddressSpace
The memory address space.
Public propertyAllowedAccess
The access defined by this address.
(Inherited from StringAddress.)
Public propertyArea
The memory area.
Public propertyBit
Bit within byte.
Public propertyBitAddress
Absolute address in the address space (in bits).
Public propertyByteAddress
Byte offset.
Public propertyNumBits
Length of this address range (in bits).
Public propertyNumBytes
Number of bytes.
Top
Methods
  NameDescription
Public methodCompareTo(MemoryAddress)
Compares two memory addresses.
Public methodCompareTo(Object)
Compares two memory addresses.
Public methodContains
Determines whether the current address contains the specified address.
Public methodEquals(IAddress)
Determines whether the address equals the current address.
(Inherited from StringAddress.)
Public methodEquals(MemoryAddress)
Determines whether the specified address equals the current address.
Public methodEquals(Object)
Determines whether the specified address equals the current address.
(Inherited from StringAddress.)
Public methodEquals(StringAddress)
Determines whether the specified address equals the current address.
(Overrides StringAddressEquals(StringAddress).)
Public methodGetDataType
Returns the type defined by this address.
(Inherited from StringAddress.)
Public methodGetHashCode
Returns a hash code for this address.
(Overrides StringAddressGetHashCode.)
Public methodOverlaps
Determines whether the specified address overlaps the current address at any point.
Public methodToString
Returns a string representation of the current address.
(Inherited from StringAddress.)
Top
Fields
  NameDescription
Protected fieldaccessName
A cache of the string representation of the address.
(Inherited from StringAddress.)
Top
See Also