IAgentryProperty interface

This interface represents a single property of a data object.

Visual Basic syntax

Public Interface IAgentryPropertyImplements IAgentryData

C# syntax

public interface IAgentryProperty : IAgentryData

Implemented interfaces

Members

All members of IAgentryProperty, including inherited members.

Methods
Modifier and Type Method Description
public bool ToBoolean() Convert this property's value to a boolean.
public DateTime ToDate() Convert this property's value to a date.
public DateTime ToDateTime() Convert this property's value to a date/time.
public double ToDouble() Convert this property's value to a double.
public int ToInt() Convert this property's value to an integer.
public string ToString() Convert this property's value to a string.
public TimeSpan ToTime() Convert this property's value to a time.
public uint ToUInt() Convert this property's value to an unsigned integer.
Properties
Modifier and Type Property Description
public AgentryPropertyType PropertyType The type of property this is (e.g., string or integer).
Inherited members from IAgentryData
Modifier and Type Member Description
public IAgentryData Ancestor The parent object of this object.
public List< IAgentryCollection > Collections() Return a list of collections contained by this object.
public AgentryDataType DataType Return the type of this object as defined in the Editor.
public IAgentryData Descendant(int) Return a specific data item that's owned by this object.
public int DescendantCount Return the number of data items owned by this object.
public string DisplayName Return the display name of this object as specified in the Editor.
public string InternalName Return the internal name of this object as specified in the Editor.
public List< IAgentryObject > Objects() Return a list of objects contained by this object.
public List< IAgentryProperty > Properties() Return a list of properties owned by this object.
public IAgentryData Root The root object in the data tree for an Agentry module.