ISharePointProjectService.ProjectItemTypes Property
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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.