Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
default brute force search operation
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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 
- targetStore 
 Type: Microsoft.VisualStudio.Modeling.Store- Store to search 
- elementGroup 
 Type: Microsoft.VisualStudio.Modeling.ElementGroup- Containing Element Group 
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
- 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.