SimpleMonikerResolver.AddToLookupTable(String, ModelElement) 方法

定义

派生类可以调用此方法,将额外的键添加到用于解析名字对象的名字对象查找表中。

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)

参数

monikerName
String

要与名字对象密钥匹配的名称

mel
ModelElement

键匹配时要返回的模型元素

适用于