Search Results for

    Show / Hide Table of Contents

    Class DefaultDocument

    A default document for a Document Set

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

    Properties

    ContentTypeId

    The value of the ContentTypeID of the Default Document for the Document Set

    Declaration
    public String ContentTypeId { get; set; }
    Property Value
    String

    FileSourcePath

    The path of the file to upload as a Default Document for the Document Set

    Declaration
    public String FileSourcePath { get; set; }
    Property Value
    String

    Name

    The name (including the relative path) of the Default Document for a Document Set

    Declaration
    public String Name { get; set; }
    Property Value
    String

    Methods

    Equals(DefaultDocument)

    Compares DefaultDocument object based on Name, ContentTypeID and FileSourcePath.

    Declaration
    public bool Equals(DefaultDocument other)
    Parameters
    DefaultDocument other

    DefaultDocument object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with DefaultDocument

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

    Object that represents DefaultDocument

    Returns
    System.Boolean

    true if the current object is equal to the DefaultDocument

    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