Udostępnij za pośrednictwem


DomainPropertyXmlSerializer.GetString<T> Method

Definition

Converts the supplied object to a string format.

public:
generic <typename T>
 abstract System::String ^ GetString(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, T input);
public abstract string GetString<T> (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, T input);
abstract member GetString : Microsoft.VisualStudio.Modeling.SerializationContext * 'T -> string
Public MustOverride Function GetString(Of T) (serializationContext As SerializationContext, input As T) As String

Type Parameters

T

The type to construct and return

Parameters

serializationContext
SerializationContext

Contextual information about the serialization

input
T

Value being serialized. Can be null.

Returns

A string representation of the value.

Applies to