Share via


DomainClassInfo.FindEmbeddingElement Method

Finds the embedding container for this element.

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

Syntax

'Declaration
Public Shared Function FindEmbeddingElement ( _
    element As ModelElement _
) As ModelElement
public static ModelElement FindEmbeddingElement(
    ModelElement element
)
public:
static ModelElement^ FindEmbeddingElement(
    ModelElement^ element
)
static member FindEmbeddingElement : 
        element:ModelElement -> ModelElement
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

Microsoft.VisualStudio.Modeling Namespace