共用方式為


IContentType 介面

物件的內容類型。

命名空間:  Microsoft.VisualStudio.Utilities
組件:  Microsoft.VisualStudio.CoreUtility (在 Microsoft.VisualStudio.CoreUtility.dll 中)

語法

'宣告
Public Interface IContentType
public interface IContentType
public interface class IContentType
type IContentType =  interface end
public interface IContentType

IContentType 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 BaseTypes 要從中取得所有的內容類型集目前的IContentType衍生而來。
公用屬性 DisplayName 取得內容類型的顯示名稱。
公用屬性 TypeName 取得內容類型的名稱。

回頁首

方法

  名稱 描述
公用方法 IsOfType 判斷這個內容型別是否具有指定的基底內容類型。

回頁首

備註

唯一的名稱來識別所有的內容類型。 IContentTypeRegistryService可能會傳回IContentType用戶端才能存取的其他資訊的物件。

請參閱

參考

Microsoft.VisualStudio.Utilities 命名空間