Share via


DomainPropertyXmlSerializer.GetString<T> Method

Converts the supplied object to a string format.

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

Syntax

'Declaration
Public MustOverride Function GetString(Of T) ( _
    serializationContext As SerializationContext, _
    input As T _
) As String
public abstract string GetString<T>(
    SerializationContext serializationContext,
    T input
)
public:
generic<typename T>
virtual String^ GetString(
    SerializationContext^ serializationContext, 
    T input
) abstract
abstract GetString : 
        serializationContext:SerializationContext * 
        input:'T -> string
JScript does not support generic types or methods.

Type Parameters

  • T
    The type to construct and return

Parameters

  • input
    Type: T

    Value being serialized. Can be null.

Return Value

Type: System.String
A string representation of the value.

.NET Framework Security

See Also

Reference

DomainPropertyXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace