Search Results for

    Show / Hide Table of Contents

    Class AddIn

    Defines an Add-in to provision

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

    Properties

    PackagePath

    Defines the .app file of the SharePoint Add-in to provision

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

    Source

    Defines the Source of the SharePoint Add-in to provision

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

    Remarks

    Possible values are: CorporateCatalog, DeveloperSite, InvalidSource, Marketplace, ObjectModel, RemoteObjectModel

    Methods

    Equals(AddIn)

    Compares AddIn object based on PackagePath and source

    Declaration
    public bool Equals(AddIn other)
    Parameters
    AddIn other

    AddIn Class object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with AddIn class

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

    Object that represents AddIn

    Returns
    System.Boolean

    Checks whether object is AddIn class

    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