AnnotationSetting Constructor (Boolean, Boolean, Boolean, Boolean, Int32)

Initializes a new instance of the AnnotationSetting class.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    isAnnotationEnabled As Boolean, _
    isAnnotationEnabledDefault As Boolean, _
    isDeletionByAuthorEnabled As Boolean, _
    isDeletionByAuthorEnabledDefault As Boolean, _
    maxAnnotationAllowed As Integer _
)
'Usage
Dim isAnnotationEnabled As Boolean
Dim isAnnotationEnabledDefault As Boolean
Dim isDeletionByAuthorEnabled As Boolean
Dim isDeletionByAuthorEnabledDefault As Boolean
Dim maxAnnotationAllowed As Integer

Dim instance As New AnnotationSetting(isAnnotationEnabled, _
    isAnnotationEnabledDefault, isDeletionByAuthorEnabled, _
    isDeletionByAuthorEnabledDefault, _
    maxAnnotationAllowed)
public AnnotationSetting(
    bool isAnnotationEnabled,
    bool isAnnotationEnabledDefault,
    bool isDeletionByAuthorEnabled,
    bool isDeletionByAuthorEnabledDefault,
    int maxAnnotationAllowed
)

Parameters

  • isAnnotationEnabled
    Type: System.Boolean

    Indicates whether annotations are enabled or disabled.

  • isAnnotationEnabledDefault
    Type: System.Boolean

    Indicates whether annotations are enabled or disabled by default.

  • isDeletionByAuthorEnabled
    Type: System.Boolean

    Indicates whether the author can delete the comment.

  • isDeletionByAuthorEnabledDefault
    Type: System.Boolean

    Indicates whether authors can delete comments by default.

  • maxAnnotationAllowed
    Type: System.Int32

    The maximum number of annotations allowed per scorecard.

See Also

Reference

AnnotationSetting Class

AnnotationSetting Members

AnnotationSetting Overload

Microsoft.PerformancePoint.Scorecards Namespace