共用方式為


DslDefinitionModelSerializationBehaviorMonikerResolver.ResolveMoniker Method

Resolves a moniker defined Dsl model. Special-case ModelElement to support special relationships that uses ModelElement as target role player (i.e. PresentationViewsSubject).

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

Syntax

'宣告
Public Overrides Function ResolveMoniker ( _
    moniker As Moniker _
) As ModelElement
public override ModelElement ResolveMoniker(
    Moniker moniker
)
public:
virtual ModelElement^ ResolveMoniker(
    Moniker^ moniker
) override
abstract ResolveMoniker : 
        moniker:Moniker -> ModelElement 
override ResolveMoniker : 
        moniker:Moniker -> ModelElement 
public override function ResolveMoniker(
    moniker : Moniker
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
Resolved ModelElement, or null if not resolved

Implements

IMonikerResolver.ResolveMoniker(Moniker)

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationBehaviorMonikerResolver Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace