VisualBasicValue<TResult>.CanConvertToString(IValueSerializerContext) 方法

定義

判斷 VisualBasicValue<TResult> 是否能夠轉換為 StringDetermines whether the VisualBasicValue<TResult> can be converted into a String.

public:
 virtual bool CanConvertToString(System::Windows::Markup::IValueSerializerContext ^ context);
public bool CanConvertToString (System.Windows.Markup.IValueSerializerContext context);
abstract member CanConvertToString : System.Windows.Markup.IValueSerializerContext -> bool
override this.CanConvertToString : System.Windows.Markup.IValueSerializerContext -> bool
Public Function CanConvertToString (context As IValueSerializerContext) As Boolean

參數

context
IValueSerializerContext

用於轉換的內容資訊。The context information that is used for conversion.

傳回

Boolean

如果 VisualBasicValue<TResult> 可轉換為字串,則為 true;否則為 falsetrue if the VisualBasicValue<TResult> can be converted into a string; otherwise, false.

實作

備註

這個方法一律會傳回 trueThis method always returns true.

適用於