Export (0) Print
Expand All

Store.AddMonikerResolver Method

Register an IMonikerResolver for the specified domain model.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public void AddMonikerResolver(
	Guid domainModelId,
	IMonikerResolver monikerResolver


Type: System.Guid

The ID of the domain model that will get the new IMonikerResolver.

Type: Microsoft.VisualStudio.Modeling.IMonikerResolver

The IMonikerResolver for the specified domain model.

If there is a resolver already registered for this domain model, it will be replaced by the new one.

Setting the monikerResolver to null removes the resolver associated with the specified domain model.

© 2014 Microsoft