ModelingBindingSourceToolboxItem Class
ToolboxItem for ModelingBindingSource class
Inheritance Hierarchy
System.Object
System.Drawing.Design.ToolboxItem
Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItemBase
Microsoft.VisualStudio.Modeling.Shell.ModelingBindingSourceToolboxItem
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
<SerializableAttribute> _
<GuidAttribute("607F569E-3E82-4EC7-980E-6DDB0677D5C7")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class ModelingBindingSourceToolboxItem _
Inherits ModelingToolboxItemBase
[SerializableAttribute]
[GuidAttribute("607F569E-3E82-4EC7-980E-6DDB0677D5C7")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class ModelingBindingSourceToolboxItem : ModelingToolboxItemBase
[SerializableAttribute]
[GuidAttribute(L"607F569E-3E82-4EC7-980E-6DDB0677D5C7")]
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class ModelingBindingSourceToolboxItem : public ModelingToolboxItemBase
[<SerializableAttribute>]
[<GuidAttribute("607F569E-3E82-4EC7-980E-6DDB0677D5C7")>]
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
[<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")>]
type ModelingBindingSourceToolboxItem =
class
inherit ModelingToolboxItemBase
end
public class ModelingBindingSourceToolboxItem extends ModelingToolboxItemBase
The ModelingBindingSourceToolboxItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelingBindingSourceToolboxItem(Int32, String) | Creates a new toolbox item that can create ModelingBindingSource | |
ModelingBindingSourceToolboxItem(SerializationInfo, StreamingContext) | Constuctor we must provide for serialization |
Top
Properties
Name | Description | |
---|---|---|
AssemblyName | Gets or sets the name of the assembly that contains the type or types that the toolbox item creates. (Inherited from ToolboxItem.) | |
Bitmap | Gets or sets a bitmap to represent the toolbox item in the toolbox. (Inherited from ToolboxItem.) | |
Company | Gets or sets the company name for this ToolboxItem. (Inherited from ToolboxItem.) | |
ComponentType | Gets the ComponentType string that is shown in the tooltip for this item. (Inherited from ModelingToolboxItemBase.) | |
ContextSensitiveHelpKeyword | Gets context sensitive help keyword of the toolbox item. Should NOT be localized. (Inherited from ModelingToolboxItemBase.) | |
DependentAssemblies | Gets or sets the AssemblyName for the toolbox item. (Inherited from ToolboxItem.) | |
Description | Gets or sets the description for this ToolboxItem. (Inherited from ToolboxItem.) | |
DisplayName | Gets or sets the display name for the toolbox item. (Inherited from ToolboxItem.) | |
Filter | Gets or sets the filter that determines whether the toolbox item can be used on a destination component. (Inherited from ToolboxItem.) | |
Id | Gets the unique identified of this toolbox item. (Inherited from ModelingToolboxItemBase.) | |
IsTransient | Gets a value indicating whether the toolbox item is transient. (Inherited from ToolboxItem.) | |
Locked | Gets a value indicating whether the ToolboxItem is currently locked. (Inherited from ToolboxItem.) | |
Position | Gets the suggested position of the toolbox item. (Inherited from ModelingToolboxItemBase.) | |
Properties | Gets a dictionary of properties. (Inherited from ToolboxItem.) | |
TabName | Gets the name of the toolbox tab to contain this item. Should be localized. (Inherited from ModelingToolboxItemBase.) | |
TabNameId | Gets non-localized name Id of the toolbox tab to contain this item. Must NOT be localized. (Inherited from ModelingToolboxItemBase.) | |
TypeName | Gets or sets the fully qualified name of the type of IComponent that the toolbox item creates when invoked. (Inherited from ToolboxItem.) | |
Version | Gets the version for this ToolboxItem. (Inherited from ToolboxItem.) |
Top
Methods
Name | Description | |
---|---|---|
CheckUnlocked | Throws an exception if the toolbox item is currently locked. (Inherited from ToolboxItem.) | |
CreateComponents() | Creates the components that the toolbox item is configured to create. (Inherited from ToolboxItem.) | |
CreateComponents(IDesignerHost) | Creates the components that the toolbox item is configured to create, using the specified designer host. (Inherited from ToolboxItem.) | |
CreateComponents(IDesignerHost, IDictionary) | Creates the components that the toolbox item is configured to create, using the specified designer host and default values. (Inherited from ToolboxItem.) | |
CreateComponentsCore(IDesignerHost) | Creates a component or an array of components when the toolbox item is invoked. (Inherited from ToolboxItem.) | |
CreateComponentsCore(IDesignerHost, IDictionary) | Create the component in the target host (Overrides ToolboxItem.CreateComponentsCore(IDesignerHost, IDictionary).) | |
Deserialize | Deserialize this instance of the ModelingToolboxItemBase. (Inherited from ModelingToolboxItemBase.) | |
Equals | Determines whether two ModelingToolboxItemBase instances are equal. (Inherited from ModelingToolboxItemBase.) | |
FilterPropertyValue | Filters a property value before returning it. (Inherited from ToolboxItem.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ModelingToolboxItemBase.) | |
GetType() | Gets the Type of the current instance. (Inherited from Object.) | |
GetType(IDesignerHost) | Enables access to the type associated with the toolbox item. (Inherited from ToolboxItem.) | |
GetType(IDesignerHost, AssemblyName, String, Boolean) | Creates an instance of the specified type, optionally using a specified designer host and assembly name. (Inherited from ToolboxItem.) | |
Initialize | Initializes the current toolbox item with the specified type to create. (Inherited from ToolboxItem.) | |
Lock | Locks the toolbox item and prevents changes to its properties. (Inherited from ToolboxItem.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnComponentsCreated | Raises the ComponentsCreated event. (Inherited from ToolboxItem.) | |
OnComponentsCreating | Raises the ComponentsCreating event. (Inherited from ToolboxItem.) | |
Serialize | Serializes this instance of the ModelingToolboxItemBase. (Inherited from ModelingToolboxItemBase.) | |
ToString | Returns a String that represents the current ToolboxItem. (Inherited from ToolboxItem.) | |
ValidatePropertyType | Validates that an object is of a given type. (Inherited from ToolboxItem.) | |
ValidatePropertyValue | Validates a property before it is assigned to the property dictionary. (Inherited from ToolboxItem.) |
Top
Events
Name | Description | |
---|---|---|
ComponentsCreated | Occurs immediately after components are created. (Inherited from ToolboxItem.) | |
ComponentsCreating | Occurs when components are about to be created. (Inherited from ToolboxItem.) |
Top
Fields
Name | Description | |
---|---|---|
UniqueId | Toolboxitem ID |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISerializable.GetObjectData | For a description of this member, see the GetObjectData method. (Inherited from ToolboxItem.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.