Click or drag to resize
IReadOnlyProperty Interface
A readonly property of an item

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public interface IReadOnlyProperty : IReadOnlyElement, 
	ICloneable, IAmlNode

The IReadOnlyProperty type exposes the following members.

Properties
  NameDescription
Public propertyContext
Retrieve the context used for rendering primitive values
(Inherited from IReadOnlyElement.)
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 IReadOnlyElement.)
Public propertyName
Local XML name of the element
(Inherited from IReadOnlyElement.)
Public propertyParent
Retrieve the parent element
(Inherited from IReadOnlyElement.)
Public propertyValue
String value of the element
(Inherited from IReadOnlyElement.)
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 methodCode exampleAsDateTime(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 methodAsItem
Value converted to a read-only item. If the value cannot be converted, a 'null' item (where the Exists property returns false) is returned
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.
Public methodAttribute
Retrieve the attribute with the specified name
(Inherited from IReadOnlyElement.)
Public methodAttributes
Retrieve all attributes specified for the element
(Inherited from IReadOnlyElement.)
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodElements
Retrieve all child elements
(Inherited from IReadOnlyElement.)
Public methodToAml
Render the node to a string
(Inherited from IAmlNode.)
Public methodToAml(XmlWriter)
Write the node to the specified XmlWriter
(Inherited from IAmlNode.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsFile(IConnection)Overloaded.
Download the file represented by the property
(Defined by ItemExtensions.)
Public Extension MethodAsFile(IConnection, Boolean)Overloaded.
Asynchronously download the file represented by the property
(Defined by ItemExtensions.)
Public Extension MethodCondition
Retrieve the condition attribute of the property
(Defined by Core.)
Public Extension MethodHasValue
Indicates that the property is neither null nor empty
(Defined by ItemExtensions.)
Public Extension MethodIsNull
Retrieve the is_null attribute of the property
(Defined by Core.)
Public Extension MethodKeyedName
Retrieve the keyed_name attribute of the property
(Defined by Core.)
Public Extension MethodToXml
Renders an AML node to XML
(Defined by ItemExtensions.)
Public Extension MethodType
Retrieve the type attribute of the property
(Defined by Core.)
Top
See Also