Share via


InheritableProperty<TValueType>.SetDirectValue Method

Sets the property value directly to the PublishingWeb object.

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

Syntax

'Declaration
Protected MustOverride Sub SetDirectValue ( _
    value As TValueType, _
    web As SPWeb _
)
'Usage
Dim value As TValueType
Dim web As SPWeb

Me.SetDirectValue(value, web)
protected abstract void SetDirectValue(
    TValueType value,
    SPWeb web
)

Parameters

  • value
    Type: TValueType

    Property value being set on the target PublishingWeb object.

Remarks

This abstract method needs to be over-ridden in an inherited class.

See Also

Reference

InheritableProperty<TValueType> Class

InheritableProperty<TValueType> Members

Microsoft.SharePoint.Publishing Namespace

InheritableProperty<TValueType>