|
FolderDocument.Item object
Prototype for FolderDocument.Item objects SyntaxYou cannot create a FolderDocument.Item object. var my_folder_doc; You can get the nth child object under an item this way: var container_item; Parametersnone. Property Ofnone. Implemented InECMerge 2.1 DescriptionFolderDocument.Item objects represents items which are viewed in folder document tree. They let you obtain information about the comparison and the compared items. Properties
MethodsExamplesExample 1.Enumerate the names of the children of the root item: var folder_doc =
current_frame.coordinator.document; See Also
Method are_objects_identicalSyntaxfunction are_objects_identical (side1,
side2 ) Parametersside1, side2. Side strings. Indicates which objects must be compared within the item. Method OfFolderDocument.Item object. Implemented InECMerge 2.1 DescriptionReturns true if the objects in the given sides are identical. Identity is computed locally. It means that comparing two folders for identity will just check if they both are there. To get recursive information, call FolderDocument.get_statistics and study the returned Statistics object. Note that if the property 'summary_computed' is false, this method throws an Error exception. Use FolderDocument.compare to ensure the summary is well computed. ExamplesExample 1.Compares the full document, then tells whether the object compared by the root item are identical:
var folder_doc =
current_frame.coordinator.document; See Also
Method get_urlSyntaxfunction get_url (side) Parametersside. Side string. Indicates from which object the URL is queried Method OfFolderDocument.Item object. Implemented InECMerge 2.1 DescriptionReturns the URL at which the object in given side can be found. ExamplesExample 1.Displays the URL of the root item result side:
var folder_doc =
current_frame.coordinator.document; See Also
|
|||||||||||||||||||||||||