Click or drag to resize
IAttribute Interface
A modifiable AML attribute

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

The IAttribute 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
(Inherited from IReadOnlyAttribute.)
Public propertyName
Local XML name of the attribute
(Inherited from IReadOnlyAttribute.)
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
(Inherited from IReadOnlyAttribute.)
Public methodAsBoolean(Boolean)
Value converted to a boolean using the default value if null. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsDateTime
Value converted to a nullable DateTime in the local timezone. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
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
(Inherited from IReadOnlyAttribute.)
Public methodAsDateTimeUtc
Value converted to a nullable DateTime in the UTC timezone. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
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
(Inherited from IReadOnlyAttribute.)
Public methodAsDouble
Value converted to a nullable double. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsDouble(Double)
Value converted to a double using the default value if null. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsGuid
Value converted to a nullable Guid. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsGuid(Guid)
Value converted to a Guid using the default value if null. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsInt
Value converted to a nullable int. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsInt(Int32)
Value converted to a int using the default value if null. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsLong
Value converted to a nullable long. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsLong(Int64)
Value converted to a long using the default value if null. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyAttribute.)
Public methodAsString
Value converted to a string using the default value if null.
(Inherited from IReadOnlyAttribute.)
Public methodRemove
Remove the attribute from it's parent
Public methodSet
Set the value of this attribute
Top
Extension Methods
  NameDescription
Public Extension MethodHasValue
Indicates that the attribute is neither null nor empty
(Defined by ItemExtensions.)
Top
See Also