This topic has not yet been rated - Rate this topic

IContentType Interface

The content type of an object.

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

The IContentType type exposes the following members.

Public propertyBaseTypesGets the set of all content types from which the current IContentType is derived.
Public propertyDisplayNameGets the display name of the content type.
Public propertyTypeNameGets the name of the content type.
Public methodIsOfTypeDetermines whether this content type has the specified base content type.

All content types are identified by a unique name. The IContentTypeRegistryService can return an IContentType object to allow clients to access additional information.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.