ExplorerNodeTypeAttribute 类

定义

指示正在扩展的“服务器资源管理器”节点或指定正在定义的新“服务器资源管理器”节点的 ID。

public ref class ExplorerNodeTypeAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class ExplorerNodeTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExplorerNodeTypeAttribute = class
    inherit Attribute
Public NotInheritable Class ExplorerNodeTypeAttribute
Inherits Attribute
继承
ExplorerNodeTypeAttribute
属性

注解

将此属性应用于实现 接口的 IExplorerNodeTypeExtension 类时,它指示正在扩展 的服务器资源管理器 节点。 将此属性应用于实现 接口的 IExplorerNodeTypeProvider 类时,它将指定新节点的 ID。 有关详细信息,请参阅 如何:在服务器资源管理器中扩展 SharePoint 节点如何:将自定义 SharePoint 节点添加到服务器资源管理器

构造函数

ExplorerNodeTypeAttribute(String)

初始化 ExplorerNodeTypeAttribute 类的新实例。

属性

NodeTypeId

获取正在扩展或定义的节点的 ID。

适用于