com.esri.arcgis.catalog
Interface IGxShortcut

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxShortcut

public interface IGxShortcut
extends Serializable

Provides access to members that manages the target of a shortcut object.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IGxObject getTarget()
          The value of the Target property.
 String getTargetLocation()
          The location of the target.
 void setTargetByRef(IGxObject target)
          The value of the Target property.
 void setTargetLocation(String location)
          The location of the target.
 

Method Detail

getTarget

IGxObject getTarget()
                    throws IOException,
                           AutomationException
The value of the Target property.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.catalog.IGxObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetByRef

void setTargetByRef(IGxObject target)
                    throws IOException,
                           AutomationException
The value of the Target property.

Product Availability

Available with ArcGIS Desktop.

Parameters:
target - A reference to a com.esri.arcgis.catalog.IGxObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetLocation

void setTargetLocation(String location)
                       throws IOException,
                              AutomationException
The location of the target.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
location - The location (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTargetLocation

String getTargetLocation()
                         throws IOException,
                                AutomationException
The location of the target.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
The location
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.