Interface ICamApiCustomAttributesTreeNode
Custom attributes tree node.
Assembly: CAMAPI.CustomAttributes.dll
Syntax
[Guid("A4036FC3-D90F-4B95-93D9-7E6228381296")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiCustomAttributesTreeNode
Properties
Arr
Get child node as Array by its full name (divided by dots).
Declaration
ICamApiCustomAttributesArrayValueIndexer Arr { get; }
Property Value
AsArray
Cast of this node to array if its type is array exactly, otherwise null.
Declaration
ICamApiCustomAttributesTreeNodesArray AsArray { get; }
Property Value
Attribute
Declaration
ICamApiCustomAttribute Attribute { get; }
Property Value
Bol
Get or set child node value as Boolean by its full name (divided by dots).
Declaration
ICamApiCustomAttributesBooleanValueIndexer Bol { get; }
Property Value
Child
First child node for this node.
Declaration
ICamApiCustomAttributesTreeNode Child { get; }
Property Value
Flt
Get or set child node value as Floating point number by its full name (divided by dots).
Declaration
ICamApiCustomAttributesFloatValueIndexer Flt { get; }
Property Value
FullName
Full name of the node inside tree divided by dots.
Declaration
Property Value
InstanceID
Unique identifier of the attribute in the object's attributes collection.
Declaration
Property Value
Type |
Description |
System.Guid |
|
Int
Get or set child node value as Integer by its full name (divided by dots).
Declaration
ICamApiCustomAttributesIntegerValueIndexer Int { get; }
Property Value
IsUndefined
True only if the attribute is not defined in the one of libraries attached to the application.
Declaration
bool IsUndefined { get; }
Property Value
Name
Name of attribute inside the node.
Declaration
Property Value
NodeID
Declaration
Property Value
Type |
Description |
System.Guid |
|
Parent
Parent node for this node.
Declaration
ICamApiCustomAttributesTreeNode Parent { get; }
Property Value
Sibling
Next sibling node for this node.
Declaration
ICamApiCustomAttributesTreeNode Sibling { get; }
Property Value
Str
Get or set child node value as String by its full name (divided by dots).
Declaration
ICamApiCustomAttributesStringValueIndexer Str { get; }
Property Value
Tree
Declaration
ICamApiCustomAttributesTree Tree { get; }
Property Value
TypeID
Unique identifier of the attribute in a library of attributes.
Declaration
Property Value
Type |
Description |
System.Guid |
|
ValueAsBoolean
Value of the attribute as boolean if it has value.
Declaration
bool ValueAsBoolean { get; set; }
Property Value
ValueAsDouble
Value of the attribute as floating point number if it has value.
Declaration
double ValueAsDouble { get; set; }
Property Value
ValueAsInteger
Value of the attribute as integer number if it has value.
Declaration
int ValueAsInteger { get; set; }
Property Value
ValueAsString
Value of the attribute as string if it has value.
Declaration
string ValueAsString { get; set; }
Property Value
ValueType
Type of value the attribute has.
Declaration
TCustomAttributeValueType ValueType { get; }
Property Value
Methods
FindChild(string)
Find child node by its full name in tree of nodes (divided by dots).
Declaration
ICamApiCustomAttributesTreeNode FindChild(string FullName)
Parameters
Type |
Name |
Description |
string |
FullName |
|
Returns
FindChildByInstanceID(Guid, bool)
Declaration
ICamApiCustomAttributesTreeNode FindChildByInstanceID(Guid InstanceID, bool Deep)
Parameters
Type |
Name |
Description |
System.Guid |
InstanceID |
|
bool |
Deep |
|
Returns
FindChildByTypeID(Guid, bool)
Declaration
ICamApiCustomAttributesTreeNode FindChildByTypeID(Guid TypeID, bool Deep)
Parameters
Type |
Name |
Description |
System.Guid |
TypeID |
|
bool |
Deep |
|
Returns