IDatabaseNode Interface

Represents a node in Solution Explorer. It can be a IDatabaseProjectNode, IDatabaseReferenceNode, IDatabaseProjectPropertiesFolderNode, IDatabaseFolderNode, or IDatabaseFileNode.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Interface IDatabaseNode
[CLSCompliantAttribute(false)]
public interface IDatabaseNode
[CLSCompliantAttribute(false)]
public interface class IDatabaseNode
[<CLSCompliantAttribute(false)>]
type IDatabaseNode =  interface end
public interface IDatabaseNode

The IDatabaseNode type exposes the following members.

Properties

  Name Description
Public property Caption Gets the caption that is displayed in Solution Explorer.
Public property Children Gets the list of child nodes for this node.
Public property DirectoryName Gets the directory location for this node.
Public property Id Gets the unique identifier for this node in Solution Explorer.
Public property IsImported Gets a value that indicates whether this node is to be imported into the project.
Public property IsNonMemberItem Gets a value that indicates whether this item is a non-member item of the project.
Public property NodeProperties Gets the properties that are associated with this node.
Public property ParentNode Gets the parent for this node.
Public property ProjectManager Gets the top-level root node for this particular node.
Public property Url Gets the full path of this node on disk.

Top

Methods

  Name Description
Public method GetCustomMetadata Returns the custom metadata for this node.
Public method GetItemAttribute Returns the metadata for this item in the project file. This call is just a convenience to GetItemAttribute.
Public method GetProperty Returns a Visual Studio Integration Partner (VSIP) property, such as VSHPROPID_IsNonMemberItem.
Public method Remove Removes items from the hierarchy.
Public method SetItemAttribute Sets the metadata for this item in the project file. This call is just a convenience to SetItemAttribute.
Public method SetProperty Sets a Visual Studio Integration Partner (VSIP) property, such as VSHPROPID_IsNonMemberItem.
Public method SubHierarchyContainsImportedNode Returns a value that indicates whether the sub-hierarchy for this node contains any imported nodes.

Top

See Also

Reference

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