指定网站中的文件所支持的属性。 此接口扩展 WebFileProperties 以添加对自定义工具的支持。
命名空间: VsWebSite90
程序集: VsWebSite.Interop90(在 VsWebSite.Interop90.dll 中)
语法
声明
<GuidAttribute("899456B4-E5AD-49EF-AB04-1CED913A6E44")> _
Public Interface WebFileProperties2 _
Inherits WebFileProperties
[GuidAttribute("899456B4-E5AD-49EF-AB04-1CED913A6E44")]
public interface WebFileProperties2 : WebFileProperties
[GuidAttribute(L"899456B4-E5AD-49EF-AB04-1CED913A6E44")]
public interface class WebFileProperties2 : WebFileProperties
[<GuidAttribute("899456B4-E5AD-49EF-AB04-1CED913A6E44")>]
type WebFileProperties2 =
interface
interface WebFileProperties
end
public interface WebFileProperties2 extends WebFileProperties
WebFileProperties2 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
__id | 基础结构。获取默认属性。 (继承自 WebFileProperties。) |
![]() |
__id | 基础结构。 |
![]() |
AutoRefreshPath | 获取或设置网站 Bin 程序集的自动刷新路径。 (继承自 WebFileProperties。) |
![]() |
AutoRefreshPath | |
![]() |
CustomTool | 获取或设置与 Web 文件相关联的自定义工具的程序标识符。自定义工具将其表示的 Web 文件作为输入,并写入一个新文件。 |
![]() |
CustomToolNamespace | 获取或设置已生成文件的默认命名空间。 |
![]() |
CustomToolOutput | 获取与此网站文件相关联的自定义工具的输出文件名(不带路径)。 |
![]() |
Extender[String] | 获取扩展的 Web 文件属性。 (继承自 WebFileProperties。) |
![]() |
Extender[String] | |
![]() |
ExtenderCATID | 获取对象扩展分类 ID(CATID)。 (继承自 WebFileProperties。) |
![]() |
ExtenderCATID | |
![]() |
ExtenderNames | 获取此对象的可用 Extender 的列表。 (继承自 WebFileProperties。) |
![]() |
ExtenderNames | |
![]() |
Extension | 获取该文件的文件扩展名。 (继承自 WebFileProperties。) |
![]() |
Extension | |
![]() |
FileName | 获取或设置文件的名称,包括文件扩展名。 (继承自 WebFileProperties。) |
![]() |
FileName | |
![]() |
FullPath | 获取本地文件副本的完整路径。 (继承自 WebFileProperties。) |
![]() |
FullPath | |
![]() |
IsCustomToolOutput | 获取一个值,该值指示 Web 文件是否为自定义工具的输出。 |
![]() |
IsDependentFile | 获取一个值,该值指示 Web 文件是否为依赖文件。依赖文件是其他文件的子文件。 |
![]() |
RelativeURL | 获取文件相对于网站根目录的 URL。 (继承自 WebFileProperties。) |
![]() |
RelativeURL | |
![]() |
URL | 获取文件的 URL。 (继承自 WebFileProperties。) |
![]() |
URL |
页首
备注
您可以从文件的 Properties 集合访问 WebFileProperties2 对象。
自定义工具可在设计时将文件从一种类型转换为另一种类型。