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.BooleanIndicates whether annotations are enabled or disabled.
isAnnotationEnabledDefault
Type: System.BooleanIndicates whether annotations are enabled or disabled by default.
isDeletionByAuthorEnabled
Type: System.BooleanIndicates whether the author can delete the comment.
isDeletionByAuthorEnabledDefault
Type: System.BooleanIndicates whether authors can delete comments by default.
maxAnnotationAllowed
Type: System.Int32The maximum number of annotations allowed per scorecard.