Adds extra keys to the moniker lookup table that resolves monikers.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Sub AddToLookupTable ( _
monikerName As String, _
mel As ModelElement _
)
'使用
Dim monikerName As String
Dim mel As ModelElement
Me.AddToLookupTable(monikerName, _
mel)
protected void AddToLookupTable(
string monikerName,
ModelElement mel
)
protected:
void AddToLookupTable(
String^ monikerName,
ModelElement^ mel
)
protected function AddToLookupTable(
monikerName : String,
mel : ModelElement
)
Parameters
monikerName
Type: System.StringThe name to match against moniker keys.
mel
Type: Microsoft.VisualStudio.Modeling.ModelElementThe model element to return if the keys match.
Permissions
- 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.