共用方式為


SimpleMonikerResolver.OnMonikerResolvedToDuplicateLink Method

Checks to see if a moniker has a duplicate link.

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

Syntax

'宣告
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