IValueSerializerContext.GetValueSerializerFor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ValueSerializer associated with an object.
Overloads
GetValueSerializerFor(PropertyDescriptor) |
Gets a ValueSerializer for the given property descriptor. |
GetValueSerializerFor(Type) |
Gets the ValueSerializer associated with the specified type. |
GetValueSerializerFor(PropertyDescriptor)
Gets a ValueSerializer for the given property descriptor.
public:
System::Windows::Markup::ValueSerializer ^ GetValueSerializerFor(System::ComponentModel::PropertyDescriptor ^ descriptor);
public System.Windows.Markup.ValueSerializer GetValueSerializerFor (System.ComponentModel.PropertyDescriptor descriptor);
abstract member GetValueSerializerFor : System.ComponentModel.PropertyDescriptor -> System.Windows.Markup.ValueSerializer
Public Function GetValueSerializerFor (descriptor As PropertyDescriptor) As ValueSerializer
Parameters
- descriptor
- PropertyDescriptor
The descriptor of the property being converted.
Returns
A ValueSerializer capable of serializing the specified property.
See also
Applies to
GetValueSerializerFor(Type)
Gets the ValueSerializer associated with the specified type.
public:
System::Windows::Markup::ValueSerializer ^ GetValueSerializerFor(Type ^ type);
public System.Windows.Markup.ValueSerializer GetValueSerializerFor (Type type);
abstract member GetValueSerializerFor : Type -> System.Windows.Markup.ValueSerializer
Public Function GetValueSerializerFor (type As Type) As ValueSerializer
Parameters
- type
- Type
The type of the value being converted.
Returns
A ValueSerializer capable of serializing the specified type.
See also
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για