Delen via


SimpleMonikerResolver.OnMonikerResolvedToDuplicateLink Method

Checks to see if a moniker has a duplicate link.

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

Syntax

'Declaration
Protected Overridable Sub OnMonikerResolvedToDuplicateLink ( _
    serializationResult As SerializationResult, _
    moniker As Moniker _
)
protected virtual void OnMonikerResolvedToDuplicateLink(
    SerializationResult serializationResult,
    Moniker moniker
)
protected:
virtual void OnMonikerResolvedToDuplicateLink(
    SerializationResult^ serializationResult, 
    Moniker^ moniker
)
abstract OnMonikerResolvedToDuplicateLink : 
        serializationResult:SerializationResult * 
        moniker:Moniker -> unit  
override OnMonikerResolvedToDuplicateLink : 
        serializationResult:SerializationResult * 
        moniker:Moniker -> unit
protected function OnMonikerResolvedToDuplicateLink(
    serializationResult : SerializationResult, 
    moniker : Moniker
)

Parameters

Remarks

This method is called when a duplicate link is created when a moniker is resolved. If a duplicate is found, the duplicate link and its moniker are deleted.

.NET Framework Security

See Also

Reference

SimpleMonikerResolver Class

Microsoft.VisualStudio.Modeling Namespace