Share via


SPWebConfigModification.Value property

Gets or sets the value of the item to set.

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

Syntax

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

value = instance.Value

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

Property value

Type: System.String
If the Type property specifies EnsureChildNode, the Value property contains an XML string that represents the node to be populated as a child of the specified parent node. If the type is EnsureSection, Value contains the name of the section. If the type is EnsureAttribute, Value contains the value set in the attribute.

See also

Reference

SPWebConfigModification class

SPWebConfigModification members

Microsoft.SharePoint.Administration namespace