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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om