MarkupObject.AssignRootContext(IValueSerializerContext) 方法

定义

当在派生类中重写时,可为 ValueSerializer 类分配根上下文。

public:
 abstract void AssignRootContext(System::Windows::Markup::IValueSerializerContext ^ context);
public abstract void AssignRootContext (System.Windows.Markup.IValueSerializerContext context);
abstract member AssignRootContext : System.Windows.Markup.IValueSerializerContext -> unit
Public MustOverride Sub AssignRootContext (context As IValueSerializerContext)

参数

context
IValueSerializerContext

要为其分配根上下文的 IValueSerializerContext

适用于