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