SPDiagnosticsItem constructor (String, UInt32, UInt32, Boolean)
初始化SPDiagnosticsItem類別的新執行個體
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
messageId As UInteger, _
itemId As UInteger, _
hidden As Boolean _
)
'用途
Dim name As String
Dim messageId As UInteger
Dim itemId As UInteger
Dim hidden As Boolean
Dim instance As New SPDiagnosticsItem(name, messageId, _
itemId, hidden)
public SPDiagnosticsItem(
string name,
uint messageId,
uint itemId,
bool hidden
)
參數
name
Type: System.String這個項目的非本地化名稱。
messageId
Type: System.UInt32Integer 值來代表這個項目對應的訊息資料表中的索引。
itemId
Type: System.UInt32這個項目的索引數字。
hidden
Type: System.Boolean若為 true,從系統管理使用者介面是隱藏的項目。