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
serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResultThe serialization result.
moniker
Type: Microsoft.VisualStudio.Modeling.MonikerThe moniker to check.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.