Partager via


SimpleMonikerResolver.OnMonikerResolvedToDuplicateLink Method

Definition

Called when resolving a moniker causes a duplicate link to be created. The base implementation deletes the moniker as well as the element link.

protected:
 virtual void OnMonikerResolvedToDuplicateLink(Microsoft::VisualStudio::Modeling::SerializationResult ^ serializationResult, Microsoft::VisualStudio::Modeling::Moniker ^ moniker);
protected virtual void OnMonikerResolvedToDuplicateLink (Microsoft.VisualStudio.Modeling.SerializationResult serializationResult, Microsoft.VisualStudio.Modeling.Moniker moniker);
abstract member OnMonikerResolvedToDuplicateLink : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.Moniker -> unit
override this.OnMonikerResolvedToDuplicateLink : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.Moniker -> unit
Protected Overridable Sub OnMonikerResolvedToDuplicateLink (serializationResult As SerializationResult, moniker As Moniker)

Parameters

serializationResult
SerializationResult

SerializationResult to store error/warning messages.

moniker
Moniker

Moniker that causes duplicate link to be created.

Applies to