The PageReference type exposes the following members.

Constructors

  NameDescription
PageReferenceOverloaded.

Methods

  NameDescription
CompareTo
Compares the instance to the given object.
CompareToIgnoreWorkID
Compares two PageReferences but ignores WorkID.
Copy
Copies this instance.
CreateWritableClone
Create a copy of the current object instance that is writable.
Equals
Returns true if the objects o is equal with the instance of the PageReference.
(Overrides Object..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsAnyVersion
Indicates if the PageReference references a specific version or may be used to load any available version.
IsEmpty Obsolete.
Check if it is an empty reference.
IsNullOrEmpty
Determines whether the specified page link is null or empty.
IsRemote
Check if this reference is a remote reference.
IsValueOverloaded.
MakeReadOnly
Changes the PageReference into a read-only object.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Parse
Parse and return a PageReference from a string.
ParseUrl
Parse a url for PageLink. It is assumed that the url is root-relative, i.e. starts with a "/".
ThrowIfReadOnly
Utility method that, when called, throws a NotSupportedException indicating that the PageReference has been set as read-only.
ToString
Returns a String that represents the current Object. The return value can be be a string like "Digit[_Digit[_String]]" or "-"
(Overrides Object..::.ToString()()().)
TryParse
Create a new PageReference from a string in the format pageID[_workID[_remoteSite]]

Operators

  NameDescription
Equality
Implements the operator ==.
Inequality
Implements the operator !=.

Fields

  NameDescription
EmptyReference
Returns an empty PageReference.
SelfReference
Returns a PageReference that references the current page.

Properties

  NameDescription
ID
The id number of a page.
IsReadOnly
Indicates if the PageReference is read-only.
RemoteSite
A string that identifies a remote site as defined in the list of remote sites for this installation.
RootPage
Gets a PageReference to the root page.
StartPage
Gets a PageReference to the start page.

Remarks

If start page is not configured, this property returns an empty PageReference.
WasteBasket
Gets a PageReference to the wastebasket page.
WorkID
The version id of a page.

See Also