Share via


ISharePointProjectService.ProjectItemTypes Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a dictionary with all of the available project item types.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
ReadOnly Property ProjectItemTypes As IDictionary(Of String, ISharePointProjectItemType)
IDictionary<string, ISharePointProjectItemType> ProjectItemTypes { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, ISharePointProjectItemType>
A dictionary of project item types.

Remarks

The project item type ID is used as a key.

The dictionary uses a case-insensitive ordinal string comparer.

If a retrieved project item type is not initialized, then it is initialized before it is returned.

If a project item type is requested while being initialized, then to avoid recursive calls, the project item type is returned "as-is", no further attempts are made to initialize it, and no exception is raised.

.NET Framework Security

See Also

Reference

ISharePointProjectService Interface

Microsoft.VisualStudio.SharePoint Namespace