Udostępnij za pośrednictwem


DomainPropertyXmlSerializer.GetValue<T> Method

Definition

Converts the supplied string representation to an object instance.

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

Type Parameters

T

The type to construct and return

Parameters

serializationContext
SerializationContext

Contextual information about the serialization

input
String

A string representation of the object. Can be null or empty.

Returns

T

An object instance. Can be null.

Applies to