Export (0) Print
Expand All

InheritableProperty<TValueType> Class

Base class for inheritable properties on the PublishingWeb class.

System.Object
  Microsoft.SharePoint.Publishing.InheritableProperty<TValueType>
    Microsoft.SharePoint.Publishing.InheritableStringProperty

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class InheritableProperty<TValueType>

Type Parameters

TValueType

Base type of the inheritable property. Examples include values such as string and int.

Used to simulate inheritable properties on instances of PublishingWeb objects. For example, CustomMasterUrl is not a derived property on an SPWeb object. However, the CustomMasterUrl property on a PublishingWeb is a derived property. The InheritableProperty`1 class adds support that pushes properties down to subwebs that are set to inherit the parent Web property. This class also allows the hierarchy below a current Web to be reset.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft