Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates a Moniker, given a reference to a Decorator
Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Overrides Function MonikerizeReference ( _
    serializationContext As SerializationContext, _
    sourceElement As ModelElement, _
    domainClassId As Guid, _
    monikerString As String, _
    store As Store _
) As Moniker
public override Moniker MonikerizeReference(
    SerializationContext serializationContext,
    ModelElement sourceElement,
    Guid domainClassId,
    string monikerString,
    Store store
)
public:
virtual Moniker^ MonikerizeReference(
    SerializationContext^ serializationContext, 
    ModelElement^ sourceElement, 
    Guid domainClassId, 
    String^ monikerString, 
    Store^ store
) override
abstract MonikerizeReference : 
        serializationContext:SerializationContext * 
        sourceElement:ModelElement * 
        domainClassId:Guid * 
        monikerString:string * 
        store:Store -> Moniker  
override MonikerizeReference : 
        serializationContext:SerializationContext * 
        sourceElement:ModelElement * 
        domainClassId:Guid * 
        monikerString:string * 
        store:Store -> Moniker
public override function MonikerizeReference(
    serializationContext : SerializationContext, 
    sourceElement : ModelElement, 
    domainClassId : Guid, 
    monikerString : String, 
    store : Store
) : Moniker
Parameters
- serializationContext 
 Type: Microsoft.VisualStudio.Modeling.SerializationContext- Serialization context. 
- sourceElement 
 Type: Microsoft.VisualStudio.Modeling.ModelElement- Instance of DecoratorMap that contains the given serialized reference 
- domainClassId 
 Type: System.Guid- DomainClassId of the model element that the given moniker string will be resolved to. 
- monikerString 
 Type: System.String- Serialized string reference to an instance of Decorator 
- store 
 Type: Microsoft.VisualStudio.Modeling.Store- Store where the Moniker will be created 
Return Value
Type: Microsoft.VisualStudio.Modeling.Moniker
A Moniker encapsulating the serialized string reference of Decorator instance
.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.