IElement 接口

表示与功能相关联的文件。

命名空间:  Microsoft.VisualStudio.SharePoint.Features
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
Public Interface IElement _
    Inherits IObservableModelElement
public interface IElement : IObservableModelElement

IElement 类型公开以下成员。

属性

  名称 说明
公共属性 Location 获取或设置功能清单文件中元素的相对路径。
公共属性 Type 获取元素是表示功能元素定义还是支持文件。

页首

事件

  名称 说明
公共事件 PropertyChanged 在 DSL 模型元素更改后发生。 (继承自 IObservableModelElement。)
公共事件 PropertyChanging 在更改 DSL 模型元素时发生。 (继承自 IObservableModelElement。)

页首

请参见

参考

Microsoft.VisualStudio.SharePoint.Features 命名空间