Click or drag to resize
Paste Class
A class that defines an existing paste.
Inheritance Hierarchy
SystemObject
  PastebinPaste

Namespace: Pastebin
Assembly: Pastebin (in Pastebin.dll) Version: 1.0
Syntax
public sealed class Paste

The Paste type exposes the following members.

Methods
  NameDescription
Public methodDelete
Deletes the current paste. Only available if the paste belongs to the currently logged in user.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyExpires
The date the paste is due to expire, or null if it never expires.
Public propertyExposure
The paste's visibility.
Public propertyId
The unique ID of the paste.
Public propertyLanguageId
The internal ID of the paste's language.
Public propertyLanguageName
The display name of the paste's language.
Public propertySize
The size (in bytes) of the paste text.
Public propertySubmitted
An instance of System.DateTime representing when the paste was created (local time).
Public propertyText
The contents of the paste.
Public propertyTimestamp
The raw Unix timestamp representing when the paste was created.
Public propertyTitle
The title of the paste as it appears on the page.
Public propertyUrl
The URL to the paste.
Public propertyViews
The number of time the paste has been viewed.
Top
See Also