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
)

Parameters

domainModelId
Type: System.Guid

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

monikerResolver
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft