ImageSourceValueSerializer.CanConvertFromString 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.
Determines if a String can be converted to an instance of ImageSource.
public:
override bool CanConvertFromString(System::String ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override bool CanConvertFromString (string value, System.Windows.Markup.IValueSerializerContext context);
override this.CanConvertFromString : string * System.Windows.Markup.IValueSerializerContext -> bool
Public Overrides Function CanConvertFromString (value As String, context As IValueSerializerContext) As Boolean
Parameters
- context
- IValueSerializerContext
Context information used for conversion.
Returns
true
if value can be converted; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.