共用方式為


WebObjectType 列舉

指定 web 物件的類型。

此列舉有 FlagsAttribute 屬性,允許其成員值的位元組合。

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
<CLSCompliantAttribute(True)> _
<FlagsAttribute> _
Public Enumeration WebObjectType
'用途
Dim instance As WebObjectType
[CLSCompliantAttribute(true)]
[FlagsAttribute]
public enum WebObjectType

成員

成員名稱 描述
Project 值 = 1。Project Web 物件。
Task 值 = 2。[任務 Web 物件。
Document 值 = 4。文件 Web 物件。
Issue 值 = 8。問題 Web 物件。
Risk 值 = 16。風險 Web 物件。
Commitment 值 = 32。承諾 Web 物件。
GenericSharePointListItem 值 = 64。Web 物件是一般的 SharePoint 清單項目。
AllObjectTypes 值 = 255。其他類型的 Web 物件。

備註

使用GenericSharePointListItem是Commitment、 Document、 Issue或Risk以外的任何類型的 SharePoint 清單的網頁物件。使用AllObjectTypes是不是一種特定類型的 web 物件。

若要設定WOBJ_TYPE屬性ObjectLinkProviderDataSet.WebObjectsRow物件中使用WebObjectType類型。

使用WebObjectType列舉的程式碼範例,請參閱CreateWebObjectLinks

請參閱

參照

Microsoft.Office.Project.Server.Library 命名空間

WebSvcObjectLinkProvider

其他資源

使用物件連結提供者