ISharePointProjectItemType.Id 屬性

取得 SharePoint 專案項目型別的唯一識別碼。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
ReadOnly Property Id As String
string Id { get; }

屬性值

型別:System.String
表示 ID 的字串。

備註

ID 通常是字串,會以命名空間合格型別顯示。ID 是由專案從 SharePointProjectItemTypeAttribute 進行初始化。ProjectItemTypeId 值是針對 ISharePointProjectItemTypeProvider 元件所提供的值。

識別碼必須與儲存在 .SPData 檔案中的識別碼相符。

.NET Framework 安全性

請參閱

參考

ISharePointProjectItemType 介面

Microsoft.VisualStudio.SharePoint 命名空間