Partager via


ModelBusReferencePropertySerializer.GetValue<T> Method

Attempts to deserialize the suppling string to a model bus reference

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

Syntax

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

Type Parameters

  • T

Parameters

Return Value

Type: T

Remarks

This method will return null if the supplied serialization context does not contain a ModelBus.

.NET Framework Security

See Also

Reference

ModelBusReferencePropertySerializer Class

Microsoft.VisualStudio.Modeling.Integration Namespace