TextBlock.ShouldSerializeInlines(XamlDesignerSerializationManager) 方法

定义

返回一个值,该值指示在序列化 Inlines 对象期间,是否应对 TextBlock 属性的有效值进行序列化。Returns a value that indicates whether the effective value of the Inlines property should be serialized during serialization of a TextBlock object.

public:
 bool ShouldSerializeInlines(System::Windows::Markup::XamlDesignerSerializationManager ^ manager);
public bool ShouldSerializeInlines (System.Windows.Markup.XamlDesignerSerializationManager manager);
member this.ShouldSerializeInlines : System.Windows.Markup.XamlDesignerSerializationManager -> bool
Public Function ShouldSerializeInlines (manager As XamlDesignerSerializationManager) As Boolean

参数

manager
XamlDesignerSerializationManager

此对象的序列化服务管理器对象。A serialization service manager object for this object.

返回

如果 Inlines 属性应被序列化,则为 true;否则为 falsetrue if the Inlines property should be serialized; otherwise, false.

异常

managernullmanager is null.

适用于