Partager via


TypeDescriptionProviderForwarder Delegate

Represents the method that returns the model element that is represented by another model element.

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

Syntax

'Declaration
Public Delegate Function TypeDescriptionProviderForwarder ( _
    source As ModelElement _
) As ModelElement
public delegate ModelElement TypeDescriptionProviderForwarder(
    ModelElement source
)
public delegate ModelElement^ TypeDescriptionProviderForwarder(
    ModelElement^ source
)
type TypeDescriptionProviderForwarder = 
    delegate of  
        source:ModelElement -> ModelElement
JScript does not support delegates.

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
The model element that is represented.

Remarks

The ForwardingTypeDescriptionProvider class calls this delegate when the class creates the type descriptor for an indexing model element, such as a port or a compartment. This delegate supports the forward element merge directive. For more information, see Defining Element Merge Directives.

See Also

Reference

Microsoft.VisualStudio.Modeling.Design Namespace

ForwardingTypeDescriptionProvider

ElementTypeDescriptor

Other Resources

Defining Element Merge Directives