次の方法で共有


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

'宣言
ReadOnly Property ContentTypes As IEnumerable(Of IContentType)
    Get
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