Partilhar via


IEditor.FilePath Property

Applies to v2.

Gets or sets the path to the file.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Property FilePath As String 
    Get 
    Set
'Usage
Dim instance As IEditor 
Dim value As String 

value = instance.FilePath

instance.FilePath = value
string FilePath { get; set; }
property String^ FilePath {
    String^ get ();
    void set (String^ value);
}
abstract FilePath : string with get, set
function get FilePath () : String 
function set FilePath (value : String)

Property Value

Type: System.String
The path to the file.

Remarks

This tells the editor what type of the content it holds by using a file extension (like "txt", "html", etc.)

See Also

Reference

IEditor Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace