Click or drag to resize
IReadOnlyAttribute Interface
A read-only AML attribute

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public interface IReadOnlyAttribute

The IReadOnlyAttribute type exposes the following members.

Properties
  NameDescription
Public propertyExists
Returns true if this element actually exists in the underlying AML, otherwise, returns false to indicate that the element is just a null placeholder put in place to reduce unnecessary null reference checks
Public propertyName
Local XML name of the attribute
Public propertyValue
String value of the attribute
Top
Methods
  NameDescription
Public methodAsBoolean
Value converted to a nullable boolean. If the value cannot be converted, an exception is thrown
Public methodAsBoolean(Boolean)
Value converted to a boolean using the default value if null. If the value cannot be converted, an exception is thrown
Public methodAsDateTime
Value converted to a nullable DateTime in the local timezone. If the value cannot be converted, an exception is thrown
Public methodAsDateTime(DateTime)
Value converted to a DateTime in the local timezone using the default value if null. If the value cannot be converted, an exception is thrown
Public methodAsDateTimeUtc
Value converted to a nullable DateTime in the UTC timezone. If the value cannot be converted, an exception is thrown
Public methodAsDateTimeUtc(DateTime)
Value converted to a DateTime in the UTC timezone using the default value if null. If the value cannot be converted, an exception is thrown
Public methodAsDouble
Value converted to a nullable double. If the value cannot be converted, an exception is thrown
Public methodAsDouble(Double)
Value converted to a double using the default value if null. If the value cannot be converted, an exception is thrown
Public methodAsGuid
Value converted to a nullable Guid. If the value cannot be converted, an exception is thrown
Public methodAsGuid(Guid)
Value converted to a Guid using the default value if null. If the value cannot be converted, an exception is thrown
Public methodAsInt
Value converted to a nullable int. If the value cannot be converted, an exception is thrown
Public methodAsInt(Int32)
Value converted to a int using the default value if null. If the value cannot be converted, an exception is thrown
Public methodAsLong
Value converted to a nullable long. If the value cannot be converted, an exception is thrown
Public methodAsLong(Int64)
Value converted to a long using the default value if null. If the value cannot be converted, an exception is thrown
Public methodAsString
Value converted to a string using the default value if null.
Top
Extension Methods
  NameDescription
Public Extension MethodHasValue
Indicates that the attribute is neither null nor empty
(Defined by ItemExtensions.)
Top
See Also