newObjects-logo.gif (1024 bytes) ScriptManager2 and ScriptAggregate reference
Key property

read only

Returns the key name corresponding to the index or name.

variable = object.Key(name_or_index)

variable string Name of the item in the collection
object ScriptManager2 or ScriptAggregate Previously created ScriptManager2/ScriptAggregate object
name_or_index numeric or string index or name of the item in the namespaces collection

Remarks:

This indexed property returns string that is the name of the item in the namespaces collection. Property can be used with numeric or string parameter. Using with string parameter just returns the name of the item (the same string) if the item with this name exist in the collection or empty string if not. Empty string is returned in case of numeric index usage.

Applies to:

ScriptManager2 and ScriptAggregate objects

 

newObjects Copyright newObjects 2001-2005