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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.