Share via


IndexAnnotationSerializer.Serialize(String, Object) Method

Definition

Serializes the given IndexAnnotation into a string for storage in the EDMX XML.

public virtual string Serialize (string name, object value);
abstract member Serialize : string * obj -> string
override this.Serialize : string * obj -> string
Public Overridable Function Serialize (name As String, value As Object) As String

Parameters

name
String

The name of the annotation that is being serialized.

value
Object

The value to serialize which must be an IndexAnnotation object.

Returns

The serialized value.

Implements

Applies to