Search Results for

    Show / Hide Table of Contents

    Class WebPart

    Inheritance
    System.Object
    BaseModel
    WebPart
    Inherited Members
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class WebPart : BaseModel, IProvisioningTemplateDescendant

    Properties

    Column

    Webpart Column

    Declaration
    public uint Column { get; set; }
    Property Value
    System.UInt32

    Contents

    Webpart Contents

    Declaration
    public string Contents { get; set; }
    Property Value
    System.String

    Order

    Webpart Order

    Declaration
    public uint Order { get; set; }
    Property Value
    System.UInt32

    Row

    Webpart Row

    Declaration
    public uint Row { get; set; }
    Property Value
    System.UInt32

    Title

    Webpart Title

    Declaration
    public string Title { get; set; }
    Property Value
    System.String

    Zone

    Webpart Zone

    Declaration
    public string Zone { get; set; }
    Property Value
    System.String

    Methods

    Equals(WebPart)

    Compares WebPart object based on Row, Column and Contents

    Declaration
    public bool Equals(WebPart other)
    Parameters
    WebPart other

    WebPart object

    Returns
    System.Boolean

    true if the WebPart object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with WebPart

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents WebPart

    Returns
    System.Boolean

    true if the current object is equal to the WebPart

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Returns HashCode

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer