Class SelectionSetClass

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll
[Guid("AF10D718-A61B-11D4-A64C-0008C711C8C1")]
[ClassInterface(ClassInterfaceType.None)]
public class SelectionSetClass : SelectionSet, ISelectionSet3, ISelectionSet2, ISelectionSet
Inheritance
SelectionSetClass
Implements
Inherited Members

Explicit Interface Implementations

Add(long)

Adds an object id to the selection set.

virtual void Add(long OID)

Parameters

OID long

AddGlobalID(string)

Adds a globalid to the selection set.

virtual void AddGlobalID(string GlobalID)

Parameters

GlobalID string

AddGlobalIDList(int, string[])

Adds a list of globalids to the selection set.

virtual void AddGlobalIDList(int Count, string[] globalIDList)

Parameters

Count int
globalIDList string[]

AddList(long, ref long)

Adds a list of object id's to the selection set.

virtual void AddList(long Count, ref long OIDList)

Parameters

Count long
OIDList long

Remarks

This method should not be called by .NET or Java applications. Instead, call IGeoDatabaseBridge2.AddList.

[C#]

This method should not be used in .NET. Instead, use IGeoDatabaseBridge2.AddList.

[Visual Basic .NET]

This method should not be used in .NET. Instead, use IGeoDatabaseBridge2.AddList.

Combine(ISelectionSet, esriSetOperation, out ISelectionSet)

Combines this selection set with another selection set using the specified set operation.

virtual void Combine(ISelectionSet otherSet, esriSetOperation setOp, out ISelectionSet resultSet)

Parameters

otherSet ISelectionSet
setOp esriSetOperation
resultSet ISelectionSet

Remarks

Used to combine to SelectionSets.  The resultSet parameter must be a third selection set and not any of the ones that are combined. For example, if you want to combine A and B and put the result in A, you must combine A and B into C, and then set A to C.

To combine two selection sets, the sets must be derived from the same table or feature class. Attempting to combine selection sets from different datasets will raise an error.

Count

The number of oids in the selection set.

virtual long Count { get; }

Returns

long

FullName

The full name of the selection set.

virtual IName FullName { get; }

Returns

IName

Remarks

The FullName property has not been implemented.

GlobalIDs

Returns the globalids in the selection set.

virtual string[] GlobalIDs { get; }

Returns

string[]

IDs

Enumerates the object ids in the selection set.

virtual IEnumIDs IDs { get; }

Returns

IEnumIDs

ISelectionSet2_Add(long)

virtual void ISelectionSet2_Add(long OID)

Parameters

OID long

ISelectionSet2_AddList(long, ref long)

virtual void ISelectionSet2_AddList(long Count, ref long OIDList)

Parameters

Count long
OIDList long

ISelectionSet2_Combine(ISelectionSet, esriSetOperation, out ISelectionSet)

virtual void ISelectionSet2_Combine(ISelectionSet otherSet, esriSetOperation setOp, out ISelectionSet resultSet)

Parameters

otherSet ISelectionSet
setOp esriSetOperation
resultSet ISelectionSet

ISelectionSet2_Count

virtual long ISelectionSet2_Count { get; }

Returns

long

ISelectionSet2_FullName

virtual IName ISelectionSet2_FullName { get; }

Returns

IName

ISelectionSet2_IDs

virtual IEnumIDs ISelectionSet2_IDs { get; }

Returns

IEnumIDs

ISelectionSet2_MakePermanent()

virtual void ISelectionSet2_MakePermanent()

ISelectionSet2_Refresh()

virtual void ISelectionSet2_Refresh()

ISelectionSet2_RemoveList(long, ref long)

virtual void ISelectionSet2_RemoveList(long Count, ref long OIDList)

Parameters

Count long
OIDList long

ISelectionSet2_Search(IQueryFilter, bool, out ICursor)

virtual void ISelectionSet2_Search(IQueryFilter QueryFilter, bool Recycling, out ICursor Cursor)

Parameters

QueryFilter IQueryFilter
Recycling bool
Cursor ICursor

ISelectionSet2_Select(IQueryFilter, esriSelectionType, esriSelectionOption, IWorkspace)

virtual ISelectionSet ISelectionSet2_Select(IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer)

Parameters

QueryFilter IQueryFilter
selType esriSelectionType
selOption esriSelectionOption
selectionContainer IWorkspace

Returns

ISelectionSet

ISelectionSet2_Target

virtual ITable ISelectionSet2_Target { get; }

Returns

ITable

ISelectionSet3_Add(long)

virtual void ISelectionSet3_Add(long OID)

Parameters

OID long

ISelectionSet3_AddList(long, ref long)

virtual void ISelectionSet3_AddList(long Count, ref long OIDList)

Parameters

Count long
OIDList long

ISelectionSet3_Combine(ISelectionSet, esriSetOperation, out ISelectionSet)

virtual void ISelectionSet3_Combine(ISelectionSet otherSet, esriSetOperation setOp, out ISelectionSet resultSet)

Parameters

otherSet ISelectionSet
setOp esriSetOperation
resultSet ISelectionSet

ISelectionSet3_Count

virtual long ISelectionSet3_Count { get; }

Returns

long

ISelectionSet3_FullName

virtual IName ISelectionSet3_FullName { get; }

Returns

IName

ISelectionSet3_IDs

virtual IEnumIDs ISelectionSet3_IDs { get; }

Returns

IEnumIDs

ISelectionSet3_MakePermanent()

virtual void ISelectionSet3_MakePermanent()

ISelectionSet3_Refresh()

virtual void ISelectionSet3_Refresh()

ISelectionSet3_RemoveList(long, ref long)

virtual void ISelectionSet3_RemoveList(long Count, ref long OIDList)

Parameters

Count long
OIDList long

ISelectionSet3_Search(IQueryFilter, bool, out ICursor)

virtual void ISelectionSet3_Search(IQueryFilter QueryFilter, bool Recycling, out ICursor Cursor)

Parameters

QueryFilter IQueryFilter
Recycling bool
Cursor ICursor

ISelectionSet3_Select(IQueryFilter, esriSelectionType, esriSelectionOption, IWorkspace)

virtual ISelectionSet ISelectionSet3_Select(IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer)

Parameters

QueryFilter IQueryFilter
selType esriSelectionType
selOption esriSelectionOption
selectionContainer IWorkspace

Returns

ISelectionSet

ISelectionSet3_Target

virtual ITable ISelectionSet3_Target { get; }

Returns

ITable

ISelectionSet3_Update(IQueryFilter, bool, out ICursor)

virtual void ISelectionSet3_Update(IQueryFilter QueryFilter, bool Recycling, out ICursor Cursor)

Parameters

QueryFilter IQueryFilter
Recycling bool
Cursor ICursor

MakePermanent()

Makes the SelectionSet permanent. By default SelectionSets are deleted when released.

virtual void MakePermanent()

Remarks

This method is not currently implemented.

Refresh()

Refreshes the state of a snapshot selection.

virtual void Refresh()

RemoveGlobalIDList(int, string[])

Removes a list of globalids from the selection set.

virtual void RemoveGlobalIDList(int Count, string[] globalIDList)

Parameters

Count int
globalIDList string[]

RemoveList(long, ref long)

Removes a list of object id's from the selection set.

virtual void RemoveList(long Count, ref long OIDList)

Parameters

Count long
OIDList long

Remarks

This method should not be called by .NET or Java applications. Instead, call IGeoDatabaseBridge2.RemoveList.

Search(IQueryFilter, bool, out ICursor)

Returns a cursor that can be used to retrieve the objects specified by a query over this selection set.

virtual void Search(IQueryFilter QueryFilter, bool Recycling, out ICursor Cursor)

Parameters

QueryFilter IQueryFilter
Recycling bool
Cursor ICursor

Remarks

Search will return an ICursor with all of the rows that satisfy the constraints specified by a query filter. If a null value is provided for the QueryFilter parameter, the cursor will contain all of the selection set's rows.

The Recycling parameter controls row object allocation behavior.

Recycling cursors rehydrate a single feature/row object on each fetch and can be used to optimize read-only access, for example, when drawing. It is illegal to maintain a reference on a feature/row object returned by a recycling cursor across multiple calls to NextRow on the cursor. Feature/Row objects returned by a recycling cursor should not be modified. Non-recycling cursors return a separate object on each fetch.

The features/rows returned by a non-recycling cursor may be modified and stored with polymorphic behavior. The geodatabase guarantees "unique instance semantics" on non-recycling feature/row objects fetched during an edit session. If the object to be retrieved by a call to search has already been instantiated and is being referenced by the calling application, then a reference to the existing row object is returned.

Select(IQueryFilter, esriSelectionType, esriSelectionOption, IWorkspace)

Returns a new selection That contains the object ids selected by a query over this selection set.

virtual ISelectionSet Select(IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer)

Parameters

QueryFilter IQueryFilter
selType esriSelectionType
selOption esriSelectionOption
selectionContainer IWorkspace

Returns

ISelectionSet

Target

The Table or FeatureClass over which the selection set is defined.

virtual ITable Target { get; }

Returns

ITable

Remarks

The Target property returns a reference to the Table or Feature Class from which the Selection Set was constructed.

Update(IQueryFilter, bool, out ICursor)

Returns a cursor that can be used to update the objects specified by a query over this selection set.

virtual void Update(IQueryFilter QueryFilter, bool Recycling, out ICursor Cursor)

Parameters

QueryFilter IQueryFilter
Recycling bool
Cursor ICursor

Remarks

All edits to features that participate in a Topology or Geometric Network must be bracketed within an edit operation.