ArcObjects Library Reference (Controls)  

IEngineEditor.GetTaskByUniqueName Method

Retrieves a task by UniqueName from the EngineEditor.

[Visual Basic .NET]
Public Function GetTaskByUniqueName ( _
    ByVal UniqueName As String _
) As IEngineEditTask
[C#]
public IEngineEditTask GetTaskByUniqueName (
    string UniqueName
);
[C++]
HRESULT GetTaskByUniqueName(
  BSTR UniqueName,
  IEngineEditTask** Task
);
[C++]

Parameters

UniqueName [in]   UniqueName is a parameter of type BSTR Task [out, retval]

  Task is a parameter of type IEngineEditTask

Product Availability

Available with ArcGIS Engine.

Description

Retrieves the engine edit task that is uniquely identified by it's IEngineEditTask::UniqueName string.

For example, the out-of-the-box "Create New Feature" and "Modify Feature" engine edit tasks have IEngineEditTask::UniqueName properties of "ControlToolsEditing_CreateNewFeatureTask" and "ControlToolsEditing_ModifyFeatureTask" respectively.

See Also

IEngineEditor Interface

.NET Samples

Editing using a custom form (Code Files: EditorForm)