DomainClassInfo.FindEmbeddingElement Method

Finds the embedding container for this element.

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

Syntax

'Declaration
Public Shared Function FindEmbeddingElement ( _
    element As ModelElement _
) As ModelElement
'Usage
Dim element As ModelElement 
Dim returnValue As ModelElement 

returnValue = DomainClassInfo.FindEmbeddingElement(element)
public static ModelElement FindEmbeddingElement(
    ModelElement element
)
public:
static ModelElement^ FindEmbeddingElement(
    ModelElement^ element
)
public static function FindEmbeddingElement(
    element : ModelElement
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
A ModelElement object.

Remarks

A ModelElement is returned if found; otherwise, nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DomainClassInfo Class

DomainClassInfo Members

Microsoft.VisualStudio.Modeling Namespace