Class AddIn
Defines an Add-in to provision
Inherited Members
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 |