Partager via


IContentTypeRegistryService.ContentTypes Property

Gets an enumeration of all content types, including the "unknown" content type.

Namespace:  Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)

Syntax

'Déclaration
ReadOnly Property ContentTypes As IEnumerable(Of IContentType)
IEnumerable<IContentType> ContentTypes { get; }
property IEnumerable<IContentType^>^ ContentTypes {
    IEnumerable<IContentType^>^ get ();
}
abstract ContentTypes : IEnumerable<IContentType>
function get ContentTypes () : IEnumerable<IContentType>

Property Value

Type: System.Collections.Generic.IEnumerable<IContentType>
The content types.

.NET Framework Security

See Also

Reference

IContentTypeRegistryService Interface

Microsoft.VisualStudio.Utilities Namespace