次の方法で共有


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

'宣言
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

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

See Also

Reference

Store Class

Microsoft.VisualStudio.Modeling Namespace