Click or drag to resize
UserGetPastes Method
Lists all the pastes for the current user.

Namespace: Pastebin
Assembly: Pastebin (in Pastebin.dll) Version: 1.0
Syntax
public ReadOnlyCollection<Paste> GetPastes(
	int limit = 50
)

Parameters

limit (Optional)
Type: SystemInt32
Optional paste limit. Minimum value = 1. Maximum value = 1000.

Return Value

Type: ReadOnlyCollectionPaste
A read-only collection containing the user's pastes.
Exceptions
ExceptionCondition
WebExceptionThrown when the underlying HTTP client encounters an error.
PastebinExceptionThrown when a bad API request is made.
See Also