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
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
Contextual information about the serialization
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.