FontFamilyValueSerializer.ConvertFromString 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 a String into a FontFamily.
public:
override System::Object ^ ConvertFromString(System::String ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override object ConvertFromString (string value, System.Windows.Markup.IValueSerializerContext context);
override this.ConvertFromString : string * System.Windows.Markup.IValueSerializerContext -> obj
Public Overrides Function ConvertFromString (value As String, context As IValueSerializerContext) As Object
Parameters
- value
- String
String value to convert into a FontFamily.
- context
- IValueSerializerContext
Context information used for conversion.
Returns
A new instance of FontFamily based on the supplied value
.
Exceptions
Occurs when value
is null
or equal to Empty.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.