Returns the property with the given index.

Syntax:

Item( Index As Variant, NamespaceURI As String ) As SubFileProperty
Return: SubFileProperty
Parameters: Index The name of the property or the index number of the collection element. The index can be a numerical expression (a number from 1 to the value of the "Count" property) or a string.
NamespaceURI Namespace URI of the property. If the index is a numerical expression the namespace URI must be an empty string.

Example:
Dim SubFileProps As SubFileProperties
Dim SubFileProp As SubFileProperty

Set SubFileProps = Application.ActiveProjectFile.SubFiles(1).Properties
Set SubFileProp = SubFileProps.Item("file_datatype", "")

See also:

Class SubFileProperties


Last Updated: 04/27/05