Partager via


CoreDesignSurfaceSerializationBehaviorSerializationMessages.ExpectingShortFormRelationship Method

Add a warning when a short-form relationship seems to be serialized in full-form.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Shared Sub ExpectingShortFormRelationship ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    relationshipType As Type _
)
public static void ExpectingShortFormRelationship(
    SerializationContext serializationContext,
    XmlReader reader,
    Type relationshipType
)
public:
static void ExpectingShortFormRelationship(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    Type^ relationshipType
)
static member ExpectingShortFormRelationship : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        relationshipType:Type -> unit 
public static function ExpectingShortFormRelationship(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    relationshipType : Type
)

Parameters

  • relationshipType
    Type: System.Type
    Type of the relationship.

.NET Framework Security

See Also

Reference

CoreDesignSurfaceSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace