DslDefinitionModelSerializationBehaviorSerializationMessages.IgnoredPropertyValue Method

Definition

Add a warning for invalid property value with the given type, which will be ignored.

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

Parameters

serializationContext
SerializationContext

SerializationContext to add the warning message to.

reader
XmlReader

The reader pointing to where the message is raised.

propertyName
String

Name of the property.

propertyType
Type

Type of the property.

value
String

Invalid value that causes this warning.

Applies to