DomainClassInfo.FindEmbeddingElement Method
Finds the embedding container for this element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
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
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element whose container is to be returned.
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
- 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.