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
- serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResult
The serialization result.
- moniker
Type: Microsoft.VisualStudio.Modeling.Moniker
The 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.