編輯

共用方式為


ImageSourceValueSerializer.ConvertToString Method

Definition

Converts an instance of ImageSource 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

The ImageSource to evaluate for conversion.

context
IValueSerializerContext

Context information used for conversion.

Returns

A String representation of the supplied ImageSource object.

Applies to