NamedItem 类

定义

表示可记录的已命名项。Represents a named, item that can be documented.

public ref class NamedItem abstract : System::Web::Services::Description::DocumentableItem
public abstract class NamedItem : System.Web.Services.Description.DocumentableItem
type NamedItem = class
    inherit DocumentableItem
Public MustInherit Class NamedItem
Inherits DocumentableItem
继承
派生

注解

此类表示 DocumentableItem 具有关联名称的。This class represents a DocumentableItem with an associated name.

构造函数

NamedItem()

在派生类中调用时,初始化 NamedItem 类的新实例。When called in a derived class, initializes a new instance of the NamedItem class.

属性

Documentation

获取或设置 DocumentableItem 的实例的文本文档。Gets or sets the text documentation for the instance of the DocumentableItem.

(继承自 DocumentableItem)
DocumentationElement

获取或设置 DocumentableItem 的文档元素。Gets or sets the documentation element for the DocumentableItem.

(继承自 DocumentableItem)
ExtensibleAttributes

获取或设置类型为 XmlAttribute 的数组,该数组表示为符合 Web 服务互操作性 (WS-I) 基本概要 1.1 而进行的 WSDL 特性扩展。Gets or sets an array of type XmlAttribute that represents attribute extensions of WSDL to comply with Web Services Interoperability (WS-I) Basic Profile 1.1.

(继承自 DocumentableItem)
Extensions

获取与此 ServiceDescriptionFormatExtensionCollection 关联的 DocumentableItemGets the ServiceDescriptionFormatExtensionCollection associated with this DocumentableItem.

(继承自 DocumentableItem)
Name

获取或设置项的名称。Gets or sets the name of the item.

Namespaces

获取或设置命名空间前缀和命名空间的字典,该字典用于在构造 ServiceDescription 对象时,保留命名空间的前缀和命名空间。Gets or sets the dictionary of namespace prefixes and namespaces used to preserve namespace prefixes and namespaces when a ServiceDescription object is constructed.

(继承自 DocumentableItem)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于