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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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
itemId
Type: Stringunique name of desired ToolboxItem
store
Type: Microsoft.VisualStudio.Modeling.StoreStore to perform the operation against
Return Value
Type: Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItem
An instance of ModelingToolboxItem if the itemId can be resolved, null otherwise
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.