Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Add a warning for invalid property value with the given type, which will be ignored.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Shared Sub IgnoredPropertyValue ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
propertyName As String, _
propertyType As Type, _
value As String _
)
public static void IgnoredPropertyValue(
SerializationContext serializationContext,
XmlReader reader,
string propertyName,
Type propertyType,
string value
)
public:
static void IgnoredPropertyValue(
SerializationContext^ serializationContext,
XmlReader^ reader,
String^ propertyName,
Type^ propertyType,
String^ value
)
static member IgnoredPropertyValue :
serializationContext:SerializationContext *
reader:XmlReader *
propertyName:string *
propertyType:Type *
value:string -> unit
public static function IgnoredPropertyValue(
serializationContext : SerializationContext,
reader : XmlReader,
propertyName : String,
propertyType : Type,
value : String
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextSerializationContext to add the warning message to.
reader
Type: XmlReaderThe reader pointing to where the message is raised.
propertyName
Type: StringName of the property.
propertyType
Type: TypeType of the property.
value
Type: StringInvalid value that causes this warning.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CoreDesignSurfaceSerializationBehaviorSerializationMessages Class