共用方式為


ClassViewNavigationInfoNode.InfoType 屬性

取得指定之項目的所在的節點型別。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Public ReadOnly Property InfoType As ClassViewNavigationInfoTypes
public ClassViewNavigationInfoTypes InfoType { get; }

屬性值

型別:Microsoft.VisualStudio.Modeling.Shell.ClassViewNavigationInfoTypes
指定的項目所在的節點型別。

備註

下表列出可用的節點型別:

節點型別

描述

Unknown

未知的型別節點 (0)。

Project

專案節點 (1)。

Namespace

命名空間節點 (2)。

Class

類別節點 (4)。

Member

成員節點,例如方法節點或屬性節點 (8)。

.NET Framework 安全性

請參閱

參考

ClassViewNavigationInfoNode 結構

Microsoft.VisualStudio.Modeling.Shell 命名空間