A Sandcastle Documented Class Library

# StateGroup AddState Method

Adds a new state to the state group collection.

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

    public State AddState(
    	string name,
    	string description
    )

    Public Function AddState (
    	name As String,
    	description As String
    ) As State

    public:
    State^ AddState(
    	String^ name,
    	String^ description
    )

    member AddState :
            name : string *
            description : string -> State

#### Parameters

name
  Type: System
  String
  The name for the state.
description
  Type: System
  String
  The description for the state.

#### Return Value

Type: State
The newly defined State.
See Also

#### Reference

StateGroup Class
Dundas.BI.Entities.MetricSets Namespace