Class APIElement
Use this class to interact with the AntFarm Category Elements.
The APIElement class does not provide public
constructors.
Please refer to:
// properties as List<APIProperty> (see APIProperty)
APIElement element = AntFarmAPI.NewElement(yourClientId, "yourElementName", properties);
Inheritance
System.Object
APIElement
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: AntFarm.API
Assembly: AntFarm.dll
Syntax
[Serializable]
public class APIElement
Properties
Id
Declaration
public Guid Id { get; }
Property Value
Type | Description |
---|---|
System.Guid | Element id |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | Element name |
Properties
Declaration
public Dictionary<Guid, APIProperty> Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Guid, APIProperty> | APIProperty(s) assigned to this Element |