Table of Contents

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

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

ShareScope

Item

Item only share scope.

public static readonly ShareScope Item

Field Value

ShareScope

Workspace

Workspace share scope.

public static readonly ShareScope Workspace

Field Value

ShareScope

Methods

Equals(ShareScope)

Method to check equality of share scopes.

public bool Equals(ShareScope obj)

Parameters

obj ShareScope

Returns

bool

Equals(object)

Override of equals method for this object.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

Override of GetHashCode method for this object.

public override int GetHashCode()

Returns

int

ToString()

Return a string representation of the share scope.

public override string ToString()

Returns

string