Interface IItem
Represents an Aras Item that is mutable/modifiable
Inherited Members
Namespace: Innovator.Client
Assembly: Innovator.Client.dll
Syntax
public interface IItem : IElement, IReadOnlyItem, IReadOnlyElement, IAmlNode, IItemRef
Remarks
An IItem only ever represents a single Item
AML tag. It never represents multiple
items, a string, or an exception
<Item>
<prop1>a</prop1>
<prop2>b</prop2>
</Item>
Methods
| Improve this Doc View SourceProperty(String)
Returns a reference to the property with the specified name
Declaration
IProperty Property(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property |
Returns
Type | Description |
---|---|
IProperty |
Remarks
If the property does not exist, a non-null object will be returned that has an Exists
member which will return false
Property(String, String)
Returns a reference to the property with the specified name and language
Declaration
IProperty Property(string name, string lang)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property |
System.String | lang | Language of the (multilingual) property |
Returns
Type | Description |
---|---|
IProperty |
Remarks
If the property does not exist, a non-null object will be returned that has an Exists
member which will return false
Relationships()
Returns the set of relationships associated with this item
Declaration
IRelationships Relationships()
Returns
Type | Description |
---|---|
IRelationships |
Relationships(String)
Returns the set of relationships associated with this item of the specified type
Declaration
IEnumerable<IItem> Relationships(string type)
Parameters
Type | Name | Description |
---|---|---|
System.String | type | Name of the ItemType for the relationships you wish to retrieve |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IItem> |