CustomizableString.UsesDefaultValue property
Gets or sets whether the current value is the default value.
Namespace: Microsoft.SharePoint.Client.Publishing
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Property UsesDefaultValue As Boolean
Get
Set
'Usage
Dim instance As CustomizableString
Dim value As Boolean
value = instance.UsesDefaultValue
instance.UsesDefaultValue = value
public bool UsesDefaultValue { get; set; }
Property value
Type: System.Boolean
true if the current value is the default value; otherwise, false.
Remarks
If the value returned for a UsesDefaultValue property is true, then the Value property is updated automatically to reflect the DefaultValue property. Any changes to the DefaultValue property appear as changes to the Value property. If the value returned for a UsesDefaultValue property is false, then the Value property is customized; that is, it is no longer influenced by the DefaultValue property.
If the Value property and the DefaultValue property are equal, it does not necessarily indicate that the value for the UsesDefaultValue is true.