IReadOnlyProperty Interface |
Namespace: Innovator.Client
The IReadOnlyProperty type exposes the following members.
Name | Description | |
---|---|---|
![]() | Context | Retrieve the context used for rendering primitive values (Inherited from IReadOnlyElement.) |
![]() | 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 IReadOnlyElement.) |
![]() | Name | Local XML name of the element (Inherited from IReadOnlyElement.) |
![]() | Parent | Retrieve the parent element (Inherited from IReadOnlyElement.) |
![]() | Value | String value of the element (Inherited from IReadOnlyElement.) |
Name | Description | |
---|---|---|
![]() | AsBoolean | Value converted to a nullable boolean.
If the value cannot be converted, an exception is thrown |
![]() | AsBoolean(Boolean) | Value converted to a boolean using the default value if null.
If the value cannot be converted, an exception is thrown |
![]() | AsDateTime | Value converted to a nullable DateTime in the local timezone.
If the value cannot be converted, an exception is thrown |
![]() ![]() | 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 |
![]() | AsDateTimeUtc | Value converted to a nullable DateTime in the UTC timezone.
If the value cannot be converted, an exception is thrown |
![]() | 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 |
![]() | AsDouble | Value converted to a nullable double.
If the value cannot be converted, an exception is thrown |
![]() | AsDouble(Double) | Value converted to a double using the default value if null.
If the value cannot be converted, an exception is thrown |
![]() | AsGuid | Value converted to a nullable Guid.
If the value cannot be converted, an exception is thrown |
![]() | AsGuid(Guid) | Value converted to a Guid using the default value if null.
If the value cannot be converted, an exception is thrown |
![]() | AsInt | Value converted to a nullable int.
If the value cannot be converted, an exception is thrown |
![]() | AsInt(Int32) | Value converted to a int using the default value if null.
If the value cannot be converted, an exception is thrown |
![]() | AsItem | Value converted to a read-only item.
If the value cannot be converted, a 'null' item (where the
Exists property returns false) is returned |
![]() | AsLong | Value converted to a nullable long.
If the value cannot be converted, an exception is thrown |
![]() | AsLong(Int64) | Value converted to a long using the default value if null.
If the value cannot be converted, an exception is thrown |
![]() | AsString | Value converted to a string using the default value if null. |
![]() | Attribute | Retrieve the attribute with the specified name (Inherited from IReadOnlyElement.) |
![]() | Attributes | Retrieve all attributes specified for the element (Inherited from IReadOnlyElement.) |
![]() | Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) |
![]() | Elements | Retrieve all child elements (Inherited from IReadOnlyElement.) |
![]() | ToAml |
Render the node to a string
(Inherited from IAmlNode.) |
![]() | ToAml(XmlWriter) |
Write the node to the specified XmlWriter (Inherited from IAmlNode.) |
Name | Description | |
---|---|---|
![]() | AsFile(IConnection) | Overloaded. Download the file represented by the property (Defined by ItemExtensions.) |
![]() | AsFile(IConnection, Boolean) | Overloaded. Asynchronously download the file represented by the property (Defined by ItemExtensions.) |
![]() | Condition | Retrieve the condition attribute of the property (Defined by Core.) |
![]() | HasValue |
Indicates that the property is neither null nor empty
(Defined by ItemExtensions.) |
![]() | IsNull | Retrieve the is_null attribute of the property (Defined by Core.) |
![]() | KeyedName | Retrieve the keyed_name attribute of the property (Defined by Core.) |
![]() | ToXml |
Renders an AML node to XML
(Defined by ItemExtensions.) |
![]() | Type | Retrieve the type attribute of the property (Defined by Core.) |