ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SelectionSet Class / FromDictionary Method / FromDictionary<T>(Dictionary<T,List<Int64>>) Method
The collection of mapMembers and their corresponding objectIDs

In This Topic
    FromDictionary<T>(Dictionary<T,List<Int64>>) Method
    In This Topic
    Creates a SelectionSet object from the dictionary of records.
    Syntax
    public new static SelectionSet FromDictionary<T>( 
       Dictionary<T,List<long>> dict
    )
    where T: MapMember
    Public Overloads Shared Shadows Function FromDictionary(Of T As MapMember)( _
       ByVal dict As Dictionary(Of T,List(Of Long)) _
    ) As SelectionSet

    Parameters

    dict
    The collection of mapMembers and their corresponding objectIDs

    Type Parameters

    T

    Return Value

    A SelectionSet
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also