IEditor.FilePath 属性

适用于版本2

获取或设置文件的路径。

命名空间:  Microsoft.WebMatrix.Extensibility.Editor
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Property FilePath As String 
    Get 
    Set
用法
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)

属性值

类型:System.String
文件的路径。

注释

此路径将使用文件扩展名(如“txt”、“html”等)告知编辑器它保存的内容类型

请参阅

参考

IEditor 接口

Microsoft.WebMatrix.Extensibility.Editor 命名空间