This document is archived and information here might be outdated.  Recommended version.


IEngineEditor.GetTaskByUniqueName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditor Interface > IEngineEditor.GetTaskByUniqueName Method
ArcGIS Developer Help

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
);
[C++]
Parameters
UniqueName [in]

UniqueName is a parameter of type BSTR

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