C# Class XSharp.Project.XSharpFileNode

This class extends the FileNode in order to represent a file within the hierarchy.
Inheritance: Microsoft.VisualStudio.Project.FileNode
Afficher le fichier Open project: X-Sharp/XSharpPublic Class Usage Examples

Private Properties

Свойство Type Description
CreateServices object
GetFileType XSharpFileType
RetrieveImageIndex int
UpdateItemType void
XSharpFileNode System

Méthodes publiques

Méthode Description
GetAutomationObject ( ) : object

Gets the automation object for the file node.

GetItemType ( string file ) : string
UpdateHasDesigner ( ) : void

Méthodes protégées

Méthode Description
CreatePropertiesObject ( ) : NodeProperties
DoDefaultAction ( ) : void

Open a file depending on the SubType property associated with the file item in the project file

GetDocumentManager ( ) : DocumentManager

Private Methods

Méthode Description
CreateServices ( Type serviceType ) : object
GetFileType ( string filename ) : XSharpFileType
RetrieveImageIndex ( ) : int
UpdateItemType ( ) : void
XSharpFileNode ( ProjectNode root, ProjectElement e ) : System

Initializes a new instance of the XSharpFileNode class.

Method Details

CreatePropertiesObject() protected méthode

protected CreatePropertiesObject ( ) : NodeProperties
Résultat Microsoft.VisualStudio.Project.NodeProperties

DoDefaultAction() protected méthode

Open a file depending on the SubType property associated with the file item in the project file
protected DoDefaultAction ( ) : void
Résultat void

GetAutomationObject() public méthode

Gets the automation object for the file node.
public GetAutomationObject ( ) : object
Résultat object

GetDocumentManager() protected méthode

protected GetDocumentManager ( ) : DocumentManager
Résultat Microsoft.VisualStudio.Project.DocumentManager

GetItemType() public static méthode

public static GetItemType ( string file ) : string
file string
Résultat string

UpdateHasDesigner() public méthode

public UpdateHasDesigner ( ) : void
Résultat void