DslDefinitionModelToolboxHelperBase.GetToolboxItem Method

Returns instance of ModelingToolboxItem based on specified name. This method must be called from within a Transaction. Failure to do so will result in an exception

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
Public Overridable Function GetToolboxItem ( _
    itemId As String, _
    store As Store _
) As ModelingToolboxItem
public virtual ModelingToolboxItem GetToolboxItem(
    string itemId,
    Store store
)
public:
virtual ModelingToolboxItem^ GetToolboxItem(
    String^ itemId, 
    Store^ store
)
abstract GetToolboxItem : 
        itemId:string * 
        store:Store -> ModelingToolboxItem 
override GetToolboxItem : 
        itemId:string * 
        store:Store -> ModelingToolboxItem 
public function GetToolboxItem(
    itemId : String, 
    store : Store
) : ModelingToolboxItem

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItem
An instance of ModelingToolboxItem if the itemId can be resolved, null otherwise

.NET Framework Security

See Also

Reference

DslDefinitionModelToolboxHelperBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace