Bewerken

Delen via


FrameworkElement.ShouldSerializeResources Method

Definition

Returns whether serialization processes should serialize the contents of the Resources property.

public:
 bool ShouldSerializeResources();
public bool ShouldSerializeResources ();
member this.ShouldSerializeResources : unit -> bool
Public Function ShouldSerializeResources () As Boolean

Returns

true if the Resources property value should be serialized; otherwise, false.

Remarks

This will return true as long as there is at least one keyed resource in the local Resources.

Applies to