共用方式為


SPWebConfigModification.Value Property

Gets or sets the value of the item to set.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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