Store.AddMonikerResolver Method
Register an IMonikerResolver for the specified domain model.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaración
Public Sub AddMonikerResolver ( _
domainModelId As Guid, _
monikerResolver As IMonikerResolver _
)
public void AddMonikerResolver(
Guid domainModelId,
IMonikerResolver monikerResolver
)
public:
void AddMonikerResolver(
Guid domainModelId,
IMonikerResolver^ monikerResolver
)
member AddMonikerResolver :
domainModelId:Guid *
monikerResolver:IMonikerResolver -> unit
public function AddMonikerResolver(
domainModelId : Guid,
monikerResolver : IMonikerResolver
)
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.
Remarks
If there is a resolver already registered for this domain model, it will be replaced by the new one.
Setting the monikerResolver to nulla null reference (Nothing in Visual Basic) removes the resolver associated with the specified domain model.
.NET Framework Security
- 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.