System Reference Summary : System Classes : CompSource Class : CompSource Methods
 
Share this page          
CompSource Methods
Method
Return
Value
Description
Inherited From
Duplicate()
CompSource
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
ExportComp(filename = varchar(256)
[,format = integer]
[,metadata = integer])
integer
Exports a single procedure or frame to an export file. One format is XML with or without metadata.
Defined
FetchTaggedValue
(tag =
varchar(256) |
row = integer, classname=Byref(varchar(32)))
TaggedValue
Returns the TaggedValue associated with the supplied tag name or row number
Defined
FindTag(tag = varchar(256)
[,classname = byref(varchar(32))])
index
Returns the index of the first occurrence of the specified tag in the TaggedValues array of this component or—if it is a ClassSource—its superclasses
Defined
GetAttribute
(attributename =
byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
GetTaggedValues([tag = varchar(256)
[,delimiter = varchar(256)]])
array of TaggedValue
Returns an array of all the TaggedValues that either have this tag or whose tags begin with the tag plus a delimiter
Defined
GetTagText(tag =
varchar(256) | row = integer
[,classname = byref(varchar(32))])
varchar
(maxsize)
Returns a varchar containing the text of the tagged value associated with the supplied tag name or row number
Defined
GetTagValue(tag =
varchar(256) | row = integer
[,classname = byref(varchar(32))])
StringObject
Returns a StringObject containing the text value associated with the supplied tag name or row number
Defined
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
RemoveTaggedValue
(tag =
varchar(256) |
row = integer)
status
Removes a tagged value identified by its index or tag name from the component's TaggedValues array
Defined
SetAttribute
(attributename
= value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
SetTaggedValue
(tag =
varchar(256),
value = stringobject |
textvalue = varchar(maxsize))
status
Adds a tagged value to the component's TaggedValues if the tag is not already present, or amends the TaggedValue if it is present
Defined