FontFamilyValueSerializer.ConvertToString 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.
Converts an instance of FontFamily to a String.
public:
override System::String ^ ConvertToString(System::Object ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override string ConvertToString (object value, System.Windows.Markup.IValueSerializerContext context);
override this.ConvertToString : obj * System.Windows.Markup.IValueSerializerContext -> string
Public Overrides Function ConvertToString (value As Object, context As IValueSerializerContext) As String
Parameters
- value
- Object
Instance of FontFamily to evaluate for conversion.
- context
- IValueSerializerContext
Context information used for conversion.
Returns
A String representation of the supplied FontFamily object.
Exceptions
Occurs when value
is null
or equal to Empty.
Remarks
Conversion is possible only if value
is a FontFamily type. In addition, the Source property for value
cannot be null
, which identifies value
as an anonymous FontFamily.
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