Search Results for

    Show / Hide Table of Contents

    Class RuntimeMapLayerCollection

    A collection of runtime map layers

    Inheritance
    System.Object
    KeyValueCollection<System.String, RuntimeMapLayer>
    RuntimeMapLayerCollection
    Implements
    System.Collections.Generic.IList<RuntimeMapLayer>
    System.Collections.Generic.ICollection<RuntimeMapLayer>
    System.Collections.Generic.IEnumerable<RuntimeMapLayer>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    KeyValueCollection<String, RuntimeMapLayer>._values
    KeyValueCollection<String, RuntimeMapLayer>._valuesByKey
    KeyValueCollection<String, RuntimeMapLayer>.IndexOf(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.IndexOf(String)
    KeyValueCollection<String, RuntimeMapLayer>.Insert(Int32, RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.RemoveAt(Int32)
    KeyValueCollection<String, RuntimeMapLayer>.Item[Int32]
    KeyValueCollection<String, RuntimeMapLayer>.SetNewIndex(Int32, RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.Add(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.Clear()
    KeyValueCollection<String, RuntimeMapLayer>.Contains(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.CopyTo(RuntimeMapLayer[], Int32)
    KeyValueCollection<String, RuntimeMapLayer>.Count
    KeyValueCollection<String, RuntimeMapLayer>.IsReadOnly
    KeyValueCollection<String, RuntimeMapLayer>.Remove(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.GetEnumerator()
    KeyValueCollection<String, RuntimeMapLayer>.IEnumerable.GetEnumerator()
    KeyValueCollection<String, RuntimeMapLayer>.Item[String]
    KeyValueCollection<String, RuntimeMapLayer>.CollectionChanged
    KeyValueCollection<String, RuntimeMapLayer>.OnCollectionChanged()
    KeyValueCollection<String, RuntimeMapLayer>.OnBeforeItemAdded(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.OnBeforeItemRemove(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.OnItemAdded(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.OnItemRemoved(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.SelectKey(RuntimeMapLayer)
    KeyValueCollection<String, RuntimeMapLayer>.IList.Add(Object)
    KeyValueCollection<String, RuntimeMapLayer>.IList.Clear()
    KeyValueCollection<String, RuntimeMapLayer>.IList.Contains(Object)
    KeyValueCollection<String, RuntimeMapLayer>.IList.IndexOf(Object)
    KeyValueCollection<String, RuntimeMapLayer>.IList.Insert(Int32, Object)
    KeyValueCollection<String, RuntimeMapLayer>.IList.IsFixedSize
    KeyValueCollection<String, RuntimeMapLayer>.IList.IsReadOnly
    KeyValueCollection<String, RuntimeMapLayer>.IList.Remove(Object)
    KeyValueCollection<String, RuntimeMapLayer>.IList.RemoveAt(Int32)
    KeyValueCollection<String, RuntimeMapLayer>.IList.Item[Int32]
    KeyValueCollection<String, RuntimeMapLayer>.ICollection.CopyTo(Array, Int32)
    KeyValueCollection<String, RuntimeMapLayer>.ICollection.Count
    KeyValueCollection<String, RuntimeMapLayer>.ICollection.IsSynchronized
    KeyValueCollection<String, RuntimeMapLayer>.ICollection.SyncRoot
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: OSGeo.MapGuide.MaestroAPI.Mapping
    Assembly: OSGeo.MapGuide.MaestroAPI.dll
    Syntax
    public class RuntimeMapLayerCollection : KeyValueCollection<string, RuntimeMapLayer>, IList<RuntimeMapLayer>, ICollection<RuntimeMapLayer>, IEnumerable<RuntimeMapLayer>, IList, ICollection, IEnumerable

    Properties

    | Improve this Doc View Source

    Item[Int32]

    Gets or sets the element at the specified index.

    Declaration
    public override RuntimeMapLayer this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    RuntimeMapLayer

    The element at the specified index.

    Overrides
    OSGeo.MapGuide.MaestroAPI.Mapping.KeyValueCollection<System.String, OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer>.Item[System.Int32]
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    index is not a valid index in the System.Collections.Generic.IList<T>.

    System.NotSupportedException

    The property is set and the System.Collections.Generic.IList<T> is read-only.

    Methods

    | Improve this Doc View Source

    Add(RuntimeMapLayer)

    Adds the specified layer.

    Declaration
    public override void Add(RuntimeMapLayer item)
    Parameters
    Type Name Description
    RuntimeMapLayer item

    The layer.

    Overrides
    OSGeo.MapGuide.MaestroAPI.Mapping.KeyValueCollection<System.String, OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer>.Add(OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer)
    | Improve this Doc View Source

    GetByObjectId(String)

    Gets a runtime map layer by its object id.

    Declaration
    public RuntimeMapLayer GetByObjectId(string id)
    Parameters
    Type Name Description
    System.String id

    The object id.

    Returns
    Type Description
    RuntimeMapLayer
    | Improve this Doc View Source

    Insert(Int32, RuntimeMapLayer)

    Inserts an item to the System.Collections.Generic.IList<T> at the specified index.

    Declaration
    public override void Insert(int index, RuntimeMapLayer item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which item should be inserted.

    RuntimeMapLayer item

    The object to insert into the System.Collections.Generic.IList<T>.

    Overrides
    OSGeo.MapGuide.MaestroAPI.Mapping.KeyValueCollection<System.String, OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer>.Insert(System.Int32, OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer)
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    index is not a valid index in the System.Collections.Generic.IList<T>.

    System.NotSupportedException

    The System.Collections.Generic.IList<T> is read-only.

    | Improve this Doc View Source

    OnBeforeItemAdded(RuntimeMapLayer)

    Called when [before item added].

    Declaration
    protected override void OnBeforeItemAdded(RuntimeMapLayer item)
    Parameters
    Type Name Description
    RuntimeMapLayer item

    The layer.

    Overrides
    OSGeo.MapGuide.MaestroAPI.Mapping.KeyValueCollection<System.String, OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer>.OnBeforeItemAdded(OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer)
    | Improve this Doc View Source

    OnItemAdded(RuntimeMapLayer)

    Called when [item added].

    Declaration
    protected override void OnItemAdded(RuntimeMapLayer item)
    Parameters
    Type Name Description
    RuntimeMapLayer item

    The layer.

    Overrides
    OSGeo.MapGuide.MaestroAPI.Mapping.KeyValueCollection<System.String, OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer>.OnItemAdded(OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer)
    | Improve this Doc View Source

    OnItemRemoved(RuntimeMapLayer)

    Called when [item removed].

    Declaration
    protected override void OnItemRemoved(RuntimeMapLayer value)
    Parameters
    Type Name Description
    RuntimeMapLayer value

    The layer.

    Overrides
    OSGeo.MapGuide.MaestroAPI.Mapping.KeyValueCollection<System.String, OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer>.OnItemRemoved(OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer)
    | Improve this Doc View Source

    Remove(String)

    Removes the specified layer by its name.

    Declaration
    public void Remove(string name)
    Parameters
    Type Name Description
    System.String name

    The name.

    | Improve this Doc View Source

    SelectKey(RuntimeMapLayer)

    Selects the key given the value.

    Declaration
    protected override string SelectKey(RuntimeMapLayer value)
    Parameters
    Type Name Description
    RuntimeMapLayer value

    The value.

    Returns
    Type Description
    System.String
    Overrides
    OSGeo.MapGuide.MaestroAPI.Mapping.KeyValueCollection<System.String, OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer>.SelectKey(OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMapLayer)

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng