Click or drag to resize

GenericPropertyGetterGetPropertyT Method

Returns properties from a class that were not included in the same class after previous serialisation. class can be converted. Occurs with dynamically loaded assembly.

Namespace: Vishnu.Interchange
Assembly: Vishnu.Interchange (in Vishnu.Interchange.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public static T GetProperty<T>(
	
	Object instance,
	
	string name
)

Parameters

instance  Object
Instance of the class for which a direct typecast fails.
name  String
Name of the property to be read.

Type parameters

T
Type of a property of an instance that has been deleted due to a previous serialisation. cannot be cast into its original type.

Return value

T
Desired property of type T.
See also