A Sandcastle Documented Class Library

# IMetricSetService ChangeElementPlacement Method

Changes the metric set element placement within the metric set, and saves the metric set.

Namespace: Dundas.BI.Entities.MetricSets
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void ChangeElementPlacement(
    	MetricSet metricSet,
    	string uniqueName,
    	PlacementPosition placement
    )

    Sub ChangeElementPlacement (
    	metricSet As MetricSet,
    	uniqueName As String,
    	placement As PlacementPosition
    )

    void ChangeElementPlacement(
    	MetricSet^ metricSet,
    	String^ uniqueName,
    	PlacementPosition placement
    )

    abstract ChangeElementPlacement :
            metricSet : MetricSet *
            uniqueName : string *
            placement : PlacementPosition -> unit

#### Parameters

metricSet
  Type: Dundas.BI.Entities.MetricSets
  MetricSet
  The metric set.
uniqueName
  Type: System
  String
  The element unique name.
placement
  Type: Dundas.BI.Entities.MetricSets
  PlacementPosition
  The new placement position.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | metricSet is .
ArgumentException | The element specified by the uniqueName could not be found in the metric set or placement is not a valid placement position.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IMetricSetService Interface
Dundas.BI.Entities.MetricSets Namespace