ServiceReferenceCollectionEditor 类

定义

ServiceReference 控件的服务引用集合提供组件编辑器。Provides a component editor for the service reference collection of the ServiceReference control.

public ref class ServiceReferenceCollectionEditor : System::Web::UI::Design::CollectionEditorBase
public class ServiceReferenceCollectionEditor : System.Web.UI.Design.CollectionEditorBase
type ServiceReferenceCollectionEditor = class
    inherit CollectionEditorBase
Public Class ServiceReferenceCollectionEditor
Inherits CollectionEditorBase
继承
ServiceReferenceCollectionEditor

构造函数

ServiceReferenceCollectionEditor(Type)

使用指定的集合类型初始化 ServiceReferenceCollectionEditor 类的新实例。Initializes a new instance of the ServiceReferenceCollectionEditor class by using the specified collection type.

属性

CollectionItemType

获取集合中每项的数据类型。Gets the data type of each item in the collection.

(继承自 CollectionEditor)
CollectionType

获取集合对象的数据类型。Gets the data type of the collection object.

(继承自 CollectionEditor)
Context

获取指示当前上下文的类型说明符。Gets a type descriptor that indicates the current context.

(继承自 CollectionEditor)
HelpTopic

在用户按下编辑器对话框中的“帮助”按钮或 F1 键时,获取“帮助”关键字以显示“帮助”主题或主题列表。Gets the Help keyword to display the Help topic or topic list for when the editor's dialog box Help button or the F1 key is pressed.

(继承自 CollectionEditor)
IsDropDownResizable

获取一个值,该值指示是否应由用户调整下拉编辑器的大小。Gets a value indicating whether drop-down editors should be resizable by the user.

(继承自 UITypeEditor)
NewItemTypes

获取可为此集合创建的项的可用类型。Gets the available types of items that can be created for this collection.

(继承自 CollectionEditor)

方法

CancelChanges()

取消对集合的更改。Cancels changes to the collection.

(继承自 CollectionEditor)
CanRemoveInstance(Object)

指示是否可以移除集合的初始成员。Indicates whether original members of the collection can be removed.

(继承自 CollectionEditor)
CanSelectMultipleInstances()

获取一个值,该值指示是否可以同时选择多个脚本引用实例。Gets a value that indicates whether multiple script reference instances can be selected at the same time.

CreateCollectionForm()

创建新的窗体,以显示和编辑当前集合。Creates a new form to display and edit the current collection.

(继承自 CollectionEditorBase)
CreateCollectionItemType()

获取此集合包含的数据类型。Gets the data type that this collection contains.

(继承自 CollectionEditor)
CreateInstance(Type)

创建指定的集合项类型的新实例。Creates a new instance of the specified collection item type.

(继承自 CollectionEditor)
CreateNewItemTypes()

获取集合编辑器可创建的数据类型。Gets the data types that the collection editor can create.

DestroyInstance(Object)

销毁对象的指定实例。Destroys the specified instance of the object.

(继承自 CollectionEditor)
EditValue(IServiceProvider, Object)

使用 GetEditStyle() 方法所指示的编辑器样式编辑指定对象的值。Edits the value of the specified object using the editor style indicated by the GetEditStyle() method.

(继承自 UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

使用指定的服务提供程序和上下文编辑指定对象的值。Edits the value of the specified object using the specified service provider and context.

(继承自 CollectionEditor)
Equals(Object)

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

(继承自 Object)
GetDisplayText(Object)

检索给定列表项的显示文本。Retrieves the display text for the given list item.

(继承自 CollectionEditor)
GetEditStyle()

获取由 EditValue(IServiceProvider, Object) 方法使用的编辑器样式。Gets the editor style used by the EditValue(IServiceProvider, Object) method.

(继承自 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

获取 EditValue(ITypeDescriptorContext, IServiceProvider, Object) 方法使用的编辑样式。Gets the edit style used by the EditValue(ITypeDescriptorContext, IServiceProvider, Object) method.

(继承自 CollectionEditor)
GetHashCode()

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

(继承自 Object)
GetItems(Object)

获取包含指定集合的对象数组。Gets an array of objects containing the specified collection.

(继承自 CollectionEditor)
GetObjectsFromInstance(Object)

返回包含给定对象的列表。Returns a list containing the given object.

(继承自 CollectionEditor)
GetPaintValueSupported()

指示该编辑器是否支持绘制对象值的表示形式。Indicates whether this editor supports painting a representation of an object's value.

(继承自 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

指示指定的上下文是否支持在指定的上下文内绘制对象值的表示形式。Indicates whether the specified context supports painting a representation of an object's value within the specified context.

(继承自 UITypeEditor)
GetService(Type)

获取请求的服务(如果该服务可用的话)。Gets the requested service, if it is available.

(继承自 CollectionEditor)
GetType()

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

(继承自 Object)
MemberwiseClone()

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

(继承自 Object)
PaintValue(Object, Graphics, Rectangle)

将指定对象值表示形式绘制到指定的画布上。Paints a representation of the value of the specified object to the specified canvas.

(继承自 UITypeEditor)
PaintValue(PaintValueEventArgs)

使用指定的 PaintValueEventArgs 绘制某个对象的值的表示形式。Paints a representation of the value of an object using the specified PaintValueEventArgs.

(继承自 UITypeEditor)
SetItems(Object, Object[])

将指定数组设置为集合项。Sets the specified array as the items of the collection.

(继承自 CollectionEditor)
ShowHelp()

显示集合编辑器的默认帮助主题。Displays the default Help topic for the collection editor.

(继承自 CollectionEditor)
ToString()

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

(继承自 Object)

适用于