CoreDesignSurfaceSerializationBehaviorSerializationMessages::IgnoredPropertyValue Method (SerializationContext^, XmlReader^, String^, Type^, String^)
Visual Studio 2015
Add a warning for invalid property value with the given type, which will be ignored.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: static void IgnoredPropertyValue( SerializationContext^ serializationContext, XmlReader^ reader, String^ propertyName, Type^ propertyType, String^ value )
Parameters
- serializationContext
-
Type:
Microsoft.VisualStudio.Modeling::SerializationContext^
SerializationContext to add the warning message to.
- reader
-
Type:
System.Xml::XmlReader^
The reader pointing to where the message is raised.
- propertyName
-
Type:
System::String^
Name of the property.
- propertyType
-
Type:
System::Type^
Type of the property.
- value
-
Type:
System::String^
Invalid value that causes this warning.
Show: