Condividi tramite


ClosureFindElementOperation.FindElement Method

default brute force search operation

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

Syntax

'Dichiarazione
Public Overridable Function FindElement ( _
    elementId As Guid, _
    domainClassId As Guid, _
    targetStore As Store, _
    elementGroup As ElementGroup _
) As ModelElement
public virtual ModelElement FindElement(
    Guid elementId,
    Guid domainClassId,
    Store targetStore,
    ElementGroup elementGroup
)
public:
virtual ModelElement^ FindElement(
    Guid elementId, 
    Guid domainClassId, 
    Store^ targetStore, 
    ElementGroup^ elementGroup
)
abstract FindElement : 
        elementId:Guid * 
        domainClassId:Guid * 
        targetStore:Store * 
        elementGroup:ElementGroup -> ModelElement 
override FindElement : 
        elementId:Guid * 
        domainClassId:Guid * 
        targetStore:Store * 
        elementGroup:ElementGroup -> ModelElement 
public function FindElement(
    elementId : Guid, 
    domainClassId : Guid, 
    targetStore : Store, 
    elementGroup : ElementGroup
) : ModelElement

Parameters

  • elementId
    Type: System.Guid
    Id of the source element to search for
  • domainClassId
    Type: System.Guid
    Id of the class to search for

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
The found element or null if not found

Remarks

The default brute force search operation

.NET Framework Security

See Also

Reference

ClosureFindElementOperation Class

Microsoft.VisualStudio.Modeling Namespace