Struct ShareScope
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
Represents the scope of a share. For use with the ShareResources.ListShares(long, PaginationParameters, ShareScope).
public struct ShareScope
- Inherited Members
Remarks
See http://smartsheet-platform.github.io/api-docs/#share-object and http://smartsheet-platform.github.io/api-docs/#list-sheet-shares for more information.
Constructors
ShareScope(string)
public constructor taking in a string value.
public ShareScope(string value)
Parameters
value
string
Fields
Empty
Empty share scope.
public static readonly ShareScope Empty
Field Value
Item
Item only share scope.
public static readonly ShareScope Item
Field Value
Workspace
Workspace share scope.
public static readonly ShareScope Workspace
Field Value
Methods
Equals(ShareScope)
Method to check equality of share scopes.
public bool Equals(ShareScope obj)
Parameters
obj
ShareScope
Returns
Equals(object)
Override of equals method for this object.
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
Override of GetHashCode method for this object.
public override int GetHashCode()
Returns
ToString()
Return a string representation of the share scope.
public override string ToString()