Locations.AddFileLocationByObject

Syntax

Locations.AddFileLocationByObject( obj, elem = PropertyObjectElement_None, selectionStart = 0, selectionLength = -1)

Return Value

Location

The Location added to the collection.

Purpose

Adds a new file location to the collection.

Parameters

obj As PropertyObject

[In] Specifies any PropertyObject, such as step, sequence, variable, or sequence context. This method sets as many properties of the new Location object as this method can obtain from the object you pass.

elem As PropertyObjectElements

[In] Specifies the value of the Location.Element property of the new location.

This parameter has a default value of PropertyObjectElement_None .

selectionStart As Long

[In] Specifies the value of the Location.SelStart property of the new location.

This parameter has a default value of 0 .

selectionLength As Long

[In] Specifies the value of the Location.SelLength property of the new location.

This parameter has a default value of -1 .

See Also

Location

Location.Element

Location.Kind

Location.PropertyPath

Location.SelLength

Location.SelStart

Locations.AddExecutionLocation

Locations.AddTypeLocation

PropertyObject

PropertyObjectElements