Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Overridable Function FindElement ( _
elementId As Guid, _
domainClassId As Guid, _
targetStore As Store, _
elementGroup As ElementGroup _
) As ModelElement
'使用
Dim instance As ClosureFindElementOperation
Dim elementId As Guid
Dim domainClassId As Guid
Dim targetStore As Store
Dim elementGroup As ElementGroup
Dim returnValue As ModelElement
returnValue = instance.FindElement(elementId, _
domainClassId, targetStore, elementGroup)
public virtual ModelElement FindElement(
Guid elementId,
Guid domainClassId,
Store targetStore,
ElementGroup elementGroup
)
public:
virtual ModelElement^ FindElement(
Guid elementId,
Guid domainClassId,
Store^ targetStore,
ElementGroup^ elementGroup
)
public function FindElement(
elementId : Guid,
domainClassId : Guid,
targetStore : Store,
elementGroup : ElementGroup
) : ModelElement
Parameters
- elementId
Type: System.Guid
- domainClassId
Type: System.Guid
- targetStore
Type: Microsoft.VisualStudio.Modeling.Store
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
Permissions
- 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.
See Also
Reference
ClosureFindElementOperation Class