Share via


Store.AddMonikerResolver(Guid, IMonikerResolver) Method

Definition

Register a new IMonikerResolver for the given DomainModel. If there's an old resolver registered for this DomainModel, it will be replaced by the new one. Setting the IMonikerResolver to null will remove the resolver associated with the given DomainModel.

public:
 void AddMonikerResolver(Guid domainModelId, Microsoft::VisualStudio::Modeling::IMonikerResolver ^ monikerResolver);
public void AddMonikerResolver (Guid domainModelId, Microsoft.VisualStudio.Modeling.IMonikerResolver monikerResolver);
member this.AddMonikerResolver : Guid * Microsoft.VisualStudio.Modeling.IMonikerResolver -> unit
Public Sub AddMonikerResolver (domainModelId As Guid, monikerResolver As IMonikerResolver)

Parameters

domainModelId
Guid

Id of the DomainModel that will get the new IMonikerResolver.

monikerResolver
IMonikerResolver

IMonikerResolver instance for the given DomainModel.

Applies to