Delen via


ISchemaHierarchyPopulator.IsAddSupported Method

Indicates whether nodes of the specified type can be added to the specified hierarchy node from the Add item on the context menu.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: System.Boolean
true if supported.

.NET Framework Security

See Also

Reference

ISchemaHierarchyPopulator Interface

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace