共用方式為


SimpleMonikerResolver.AddToLookupTable(String, ModelElement) Method

Definition

Derived classes can call this method to add extra keys to the moniker lookup table used to resolve monikers.

protected:
 void AddToLookupTable(System::String ^ monikerName, Microsoft::VisualStudio::Modeling::ModelElement ^ mel);
protected void AddToLookupTable (string monikerName, Microsoft.VisualStudio.Modeling.ModelElement mel);
member this.AddToLookupTable : string * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Protected Sub AddToLookupTable (monikerName As String, mel As ModelElement)

Parameters

monikerName
String

The name to match against moniker keys

mel
ModelElement

The model element to return if keys match

Applies to