Edit

Share via


VisualBasicSettingsValueSerializer.CanConvertToString Method

Definition

Determines whether the specified VisualBasicSettings instance can be converted into a String.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 override bool CanConvertToString(System::Object ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override bool CanConvertToString (object value, System.Windows.Markup.IValueSerializerContext context);
override this.CanConvertToString : obj * System.Windows.Markup.IValueSerializerContext -> bool
Public Overrides Function CanConvertToString (value As Object, context As IValueSerializerContext) As Boolean

Parameters

value
Object

The value to convert.

context
IValueSerializerContext

Context information that is used for conversion.

Returns

true if the specified VisualBasicSettings instance can be converted into a String; otherwise, false.

Remarks

When called, this method promotes the specified VisualBasicSettings instance to namespace declarations and adds them to the serialization context.

Applies to