共用方式為


DomainPropertyXmlSerializer.GetValue<T> Method

Converts the supplied string representation to an object instance.

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

Syntax

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

Type Parameters

  • T
    The type to construct and return

Parameters

  • input
    Type: System.String
    A string representation of the object. Can be null or empty.

Return Value

Type: T
An object instance. Can be null.

.NET Framework Security

See Also

Reference

DomainPropertyXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace