다음을 통해 공유


DslDefinitionModelSerializationBehaviorSerializationMessages.MissingMoniker Method

Add an error for missing moniker.

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 Shared Sub MissingMoniker ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    monikerAttributeName As String _
)
public static void MissingMoniker(
    SerializationContext serializationContext,
    XmlReader reader,
    string monikerAttributeName
)
public:
static void MissingMoniker(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    String^ monikerAttributeName
)
static member MissingMoniker : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        monikerAttributeName:string -> unit
public static function MissingMoniker(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    monikerAttributeName : String
)

Parameters

  • monikerAttributeName
    Type: System.String

    Name of the attribute that should hold the moniker.

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace