Share via


IDatabaseFileNode Interface

Represents a file node in Solution Explorer.

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 IDatabaseFileNode _
    Inherits IDatabaseNode
[CLSCompliantAttribute(false)]
public interface IDatabaseFileNode : IDatabaseNode
[CLSCompliantAttribute(false)]
public interface class IDatabaseFileNode : IDatabaseNode
[<CLSCompliantAttribute(false)>]
type IDatabaseFileNode =  
    interface
        interface IDatabaseNode
    end
public interface IDatabaseFileNode extends IDatabaseNode

The IDatabaseFileNode type exposes the following members.

Properties

  Name Description
Public property BuildAction Gets or sets the build action for this file.
Public property Caption Gets the caption that is displayed in Solution Explorer. (Inherited from IDatabaseNode.)
Public property Children Gets the list of child nodes for this node. (Inherited from IDatabaseNode.)
Public property DirectoryName Gets the directory location for this node. (Inherited from IDatabaseNode.)
Public property FileName Gets or sets the name of the file that is represented by this node.
Public property Id Gets the unique identifier for this node in Solution Explorer. (Inherited from IDatabaseNode.)
Public property IsImported Gets a value that indicates whether this node is to be imported into the project. (Inherited from IDatabaseNode.)
Public property IsLinkFile Gets a value that indicates whether this file is a link file.
Public property IsNonMemberItem Gets a value that indicates whether this item is a non-member item of the project. (Inherited from IDatabaseNode.)
Public property NodeProperties Gets the properties that are associated with this node. (Inherited from IDatabaseNode.)
Public property ParentNode Gets the parent for this node. (Inherited from IDatabaseNode.)
Public property ProjectManager Gets the top-level root node for this particular node. (Inherited from IDatabaseNode.)
Public property Url Gets the full path of this node on disk. (Inherited from IDatabaseNode.)

Top

Methods

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

Top

See Also

Reference

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