語言

CacheModeValueSerializer.ConvertFromString 方法

定義

將 a String 轉換成 CacheMode。

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

參數

value
String

一個 String 要轉換成 CacheMode的值。

context
IValueSerializerContext

用於轉換的上下文資訊。

傳回

基於指定的 CacheMode新value實例。

適用於