IAttribute Interface |
Namespace: Innovator.Client
The IAttribute type exposes the following members.
Name | Description | |
---|---|---|
![]() | Exists | 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.) |
![]() | Name | Local XML name of the attribute (Inherited from IReadOnlyAttribute.) |
![]() | Value | String value of the attribute |
Name | Description | |
---|---|---|
![]() | AsBoolean | Value converted to a nullable boolean.
If the value cannot be converted, an exception is thrown (Inherited from IReadOnlyAttribute.) |
![]() | AsBoolean(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.) |
![]() | AsDateTime | Value converted to a nullable DateTime in the local timezone.
If the value cannot be converted, an exception is thrown (Inherited from IReadOnlyAttribute.) |
![]() | AsDateTime(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.) |
![]() | AsDateTimeUtc | Value converted to a nullable DateTime in the UTC timezone.
If the value cannot be converted, an exception is thrown (Inherited from IReadOnlyAttribute.) |
![]() | AsDateTimeUtc(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.) |
![]() | AsDouble | Value converted to a nullable double.
If the value cannot be converted, an exception is thrown (Inherited from IReadOnlyAttribute.) |
![]() | AsDouble(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.) |
![]() | AsGuid | Value converted to a nullable Guid.
If the value cannot be converted, an exception is thrown (Inherited from IReadOnlyAttribute.) |
![]() | AsGuid(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.) |
![]() | AsInt | Value converted to a nullable int.
If the value cannot be converted, an exception is thrown (Inherited from IReadOnlyAttribute.) |
![]() | AsInt(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.) |
![]() | AsLong | Value converted to a nullable long.
If the value cannot be converted, an exception is thrown (Inherited from IReadOnlyAttribute.) |
![]() | AsLong(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.) |
![]() | AsString | Value converted to a string using the default value if null. (Inherited from IReadOnlyAttribute.) |
![]() | Remove |
Remove the attribute from it's parent
|
![]() | Set |
Set the value of this attribute
|
Name | Description | |
---|---|---|
![]() | HasValue |
Indicates that the attribute is neither null nor empty
(Defined by ItemExtensions.) |