Compartir a través de


DomainRelationshipXmlSerializer.MonikerizeReference Method

Calculates a Moniker, given a reference to a ModelElement.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaración
Public Overridable Function MonikerizeReference ( _
    serializationContext As SerializationContext, _
    sourceElement As ModelElement, _
    domainClassId As Guid, _
    monikerString As String, _
    store As Store _
) As Moniker
public virtual 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
)
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 function MonikerizeReference(
    serializationContext : SerializationContext, 
    sourceElement : ModelElement, 
    domainClassId : Guid, 
    monikerString : String, 
    store : Store
) : Moniker

Parameters

  • 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 the target role-player.

Return Value

Type: Microsoft.VisualStudio.Modeling.Moniker

.NET Framework Security

See Also

Reference

DomainRelationshipXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace