Click or drag to resize
IProperty Interface
A modifiable 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 IProperty : IReadOnlyProperty, 
	IReadOnlyElement, ICloneable, IAmlNode, IElement

The IProperty 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 methodAdd(Object)
Add new content to the element
(Inherited from IElement.)
Public methodAdd(Object)
Add new content to the element
(Inherited from IElement.)
Public methodAsBoolean
Value converted to a nullable boolean. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyProperty.)
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 IReadOnlyProperty.)
Public methodAsDateTime
Value converted to a nullable DateTime in the local timezone. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyProperty.)
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
(Inherited from IReadOnlyProperty.)
Public methodAsDateTimeUtc
Value converted to a nullable DateTime in the UTC timezone. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyProperty.)
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 IReadOnlyProperty.)
Public methodAsDouble
Value converted to a nullable double. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyProperty.)
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 IReadOnlyProperty.)
Public methodAsGuid
Value converted to a nullable Guid. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyProperty.)
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 IReadOnlyProperty.)
Public methodAsInt
Value converted to a nullable int. If the value cannot be converted, an exception is thrown
(Inherited from IReadOnlyProperty.)
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 IReadOnlyProperty.)
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
(Inherited from IReadOnlyProperty.)
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 IReadOnlyProperty.)
Public methodAsString
Value converted to a string using the default value if null.
(Inherited from IReadOnlyProperty.)
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 methodRemove
Remove the element from its parent
(Inherited from IElement.)
Public methodRemoveAttributes
Remove attributes from the element
(Inherited from IElement.)
Public methodRemoveNodes
Remove child nodes from the element
(Inherited from IElement.)
Public methodCode exampleSet
Set the value of the property
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 MethodConditionOverloaded.
Retrieve the condition attribute of the property
(Defined by Core.)
Public Extension MethodConditionOverloaded.
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 MethodIsNullOverloaded.
Retrieve the is_null attribute of the property
(Defined by Core.)
Public Extension MethodIsNullOverloaded.
Retrieve the is_null attribute of the property
(Defined by Core.)
Public Extension MethodKeyedNameOverloaded.
Retrieve the keyed_name attribute of the property
(Defined by Core.)
Public Extension MethodKeyedNameOverloaded.
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 MethodTypeOverloaded.
Retrieve the type attribute of the property
(Defined by Core.)
Public Extension MethodTypeOverloaded.
Retrieve the type attribute of the property
(Defined by Core.)
Top
See Also