Condividi tramite


CoreDesignSurfaceSerializationBehaviorSerializationMessages.MissingMoniker Method

Definition

Add an error for missing moniker.

public:
 static void MissingMoniker(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::Xml::XmlReader ^ reader, System::String ^ monikerAttributeName);
public static void MissingMoniker (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, System.Xml.XmlReader reader, string monikerAttributeName);
static member MissingMoniker : Microsoft.VisualStudio.Modeling.SerializationContext * System.Xml.XmlReader * string -> unit
Public Shared Sub MissingMoniker (serializationContext As SerializationContext, reader As XmlReader, monikerAttributeName As String)

Parameters

serializationContext
SerializationContext

SerializationContext to add the error message to.

reader
XmlReader

The reader pointing to where the message is raised.

monikerAttributeName
String

Name of the attribute that should hold the moniker.

Applies to