Skip to main content
FrameworkElementShouldSerializeResources Method
 

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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

Syntax
public bool ShouldSerializeResources()
public:
bool ShouldSerializeResources()
member ShouldSerializeResources : unit -> bool
Public Function ShouldSerializeResources As Boolean

Return Value

Type:

true if the 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 .

Version Information
.NET Framework
Available since 3.0
Return to top