Modifier

Partager via


FrameworkContentElement.ShouldSerializeResources Method

Definition

Returns whether serialization processes should serialize the contents of the Resources property on instances of this class.

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 so long as there is at least one keyed resource in the local Resources.

Applies to