The content type of an object.
Namespace:  Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
Syntax
声明
Public Interface IContentType
public interface IContentType
public interface class IContentType
type IContentType =  interface end
public interface IContentType
The IContentType type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | BaseTypes | Gets the set of all content types from which the current IContentType is derived. | 
| .gif) | DisplayName | Gets the display name of the content type. | 
| .gif) | TypeName | Gets the name of the content type. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | IsOfType | Determines whether this content type has the specified base content type. | 
Top
Remarks
All content types are identified by a unique name. The IContentTypeRegistryService can return an IContentType object to allow clients to access additional information.