IContentType Interface

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
Public property BaseTypes Gets the set of all content types from which the current IContentType is derived.
Public property DisplayName Gets the display name of the content type.
Public property TypeName Gets the name of the content type.

Top

Methods

  Name Description
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Utilities Namespace