SPDiagnosticsItem constructor (String, String, UInt32, UInt32, Boolean)
Initializes a new instance of the SPDiagnosticsItem class with a set of properties.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
localizedName As String, _
messageId As UInteger, _
itemId As UInteger, _
hidden As Boolean _
)
'Usage
Dim name As String
Dim localizedName As String
Dim messageId As UInteger
Dim itemId As UInteger
Dim hidden As Boolean
Dim instance As New SPDiagnosticsItem(name, localizedName, _
messageId, itemId, hidden)
public SPDiagnosticsItem(
string name,
string localizedName,
uint messageId,
uint itemId,
bool hidden
)
Parameters
name
Type: System.StringThe non-localized name of this item.
localizedName
Type: System.StringThe localized display name of this item. If this value is null, the look messageId will be used to retrieve the item.
messageId
Type: System.UInt32An integer value representing the index in the message table corresponding to this item.
itemId
Type: System.UInt32The numeric index of this item.
hidden
Type: System.BooleanIf true, the item is hidden from the administrative user interface.