CollectionItem.Value
 
 
 

CollectionItem.Value

Description

Sets or returns the full name of the object as a String. Value is the CollectionItem object's default property.

C# Syntax

// get accessor
String rtn = CollectionItem.Value;
// set accessor
CollectionItem.Value = String;

Examples

VBScript Example

set oCollectionItem = CreateObject("XSI.CollectionItem")
oCollectionItem.Value = "Camera"
logmessage "get item as string:" & oCollectionItem.value
logmessage "get item as string (using default property):" & oCollectionItem