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
- node
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
Node with which the populator is associated.
- modelType
Type: System.Type
Model type to verify.
Return Value
Type: System.Boolean
true if supported.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ISchemaHierarchyPopulator Interface
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace