WebObjectType Enumeration
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

WebObjectType Enumeration

Specifies the type of web object.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

public enum WebObjectType

Member nameDescription
ProjectValue=1. Project Web object.
TaskValue=2. Task Web object.
DocumentValue=4. Document Web object.
IssueValue=8. Issue Web object.
RiskValue=16. Risk Web object.
CommitmentValue=32. Commitment Web object.
GenericSharePointListItemValue=64. The Web object is a general SharePoint list item.
AllObjectTypesValue=255. Other types of Web objects.

Use GenericSharePointListItem for a web object that is a SharePoint list of any type except Commitment, Document, Issue, or Risk. Use AllObjectTypes for a web object that is not one of the other specific types.

Use the WebObjectType type to set the WOBJ_TYPE property in the ObjectLinkProviderDataSet.WebObjectsRow object.

For a code example that uses the WebObjectType enumeration, see CreateWebObjectLinks.

© 2016 Microsoft