ControlDesignerState 类

定义

通过 IComponentDesignerStateService 接口提供对设计宿主中控件设计器的状态的访问。Provides access to the state of the control designer in the design host through the IComponentDesignerStateService interface. 无法继承此类。This class cannot be inherited.

public ref class ControlDesignerState sealed
public sealed class ControlDesignerState
type ControlDesignerState = class
Public NotInheritable Class ControlDesignerState
继承
ControlDesignerState

注解

ControlDesignerState 类是 IComponentDesignerStateService 接口的包装器,它是设计器和设计宿主(如 Visual Studio 2005Visual Studio 2005)之间的接口。The ControlDesignerState class is a wrapper for the IComponentDesignerStateService interface, which is the interface between a designer and a design host, such as Visual Studio 2005Visual Studio 2005.

属性

Item[String]

表示控件设计器状态集合中的一个元素(由给定的键标识)。Represents one element, identified by the given key, in the state collection for a control designer.

方法

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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅