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)
Syntax
'Declaration
<FlagsAttribute> _
<CLSCompliantAttribute(True)> _
Public Enumeration WebObjectType
'Usage
Dim instance As WebObjectType
[FlagsAttribute]
[CLSCompliantAttribute(true)]
public enum WebObjectType
Members
Member name | Description | |
---|---|---|
Project | Value=1. Project Web object. | |
Task | Value=2. Task Web object. | |
Document | Value=4. Document Web object. | |
Issue | Value=8. Issue Web object. | |
Risk | Value=16. Risk Web object. | |
Commitment | Value=32. Commitment Web object. | |
GenericSharePointListItem | Value=64. The Web object is a general SharePoint list item. | |
AllObjectTypes | Value=255. Other types of Web objects. |
Remarks
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.
See Also
Reference
Microsoft.Office.Project.Server.Library Namespace
[ObjectLinkProvider Web service]