Share via


CustomizableString.Value property

Gets or sets the current value of this CustomizableString instance.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property Value As String
    Get
    Set
'Usage
Dim instance As CustomizableString
Dim value As String

value = instance.Value

instance.Value = value
public string Value { get; set; }

Property value

Type: System.String
The current value of this CustomizableString instance.

Exceptions

Exception Condition
System.ArgumentNullException

The value to be assigned was null, which is not allowed.

Remarks

The act of assigning any string to Value will cause it to become “customized”; that is, the UsesDefaultValue property will no longer affect the Value property.

See also

Reference

CustomizableString class

CustomizableString members

Microsoft.SharePoint.Publishing namespace