ISchemaHierarchyPopulator.IsAddSupported 方法
表示是否可以透過內容功能表上的 [加入項目],將所指定型別的節點加入至指定的階層節點。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Function IsAddSupported ( _
node As ISchemaModelViewerNode, _
modelType As Type _
) As Boolean
bool IsAddSupported(
ISchemaModelViewerNode node,
Type modelType
)
bool IsAddSupported(
ISchemaModelViewerNode^ node,
Type^ modelType
)
abstract IsAddSupported :
node:ISchemaModelViewerNode *
modelType:Type -> bool
function IsAddSupported(
node : ISchemaModelViewerNode,
modelType : Type
) : boolean
參數
- node
型別:Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
與填入者相關聯的節點。
- modelType
型別:System.Type
要驗證的模型型別。
傳回值
型別:System.Boolean
true (如有支援)。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間