Compartilhar 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

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

Property Value

Type: IEnumerable<IContentType>
The content types.

.NET Framework Security

See Also

Reference

IContentTypeRegistryService Interface

Microsoft.VisualStudio.Utilities Namespace