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
)

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.

Show:
© 2014 Microsoft