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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za