Returns the primary link alias for the record id and querystringsuffix. If no link alias exists, it defaultvalue is returned.
Namespace: Contensive.BaseClasses
Assembly: CPBase (in CPBase.dll)
Syntax
Visual Basic (Declaration) |
---|
Public MustOverride Function GetLinkAliasByPageID( _ ByVal PageID As Integer, _ ByVal QueryStringSuffix As String, _ ByVal DefaultLink As String _ ) As String |
C# |
---|
public abstract string GetLinkAliasByPageID( int PageID, string QueryStringSuffix, string DefaultLink ) |
C++ |
---|
public: String GetLinkAliasByPageID( int PageID, String QueryStringSuffix, String DefaultLink ) abstract |
J# |
---|
public abstract string GetLinkAliasByPageID( int PageID, string QueryStringSuffix, string DefaultLink ) |
JScript |
---|
public abstract
function GetLinkAliasByPageID( PageID : int, QueryStringSuffix : String, DefaultLink : String ) : String |
Parameters
- PageID
- QueryStringSuffix
- In the case where an add-on is on the page, there may be many unique documents possible from the one pageid. Each possible variation is determined by values in the querystring added by the addon. These name=value pairs in Querystring format are used to identify additional link aliases.
- DefaultLink
- If no link alias is found, this value is returned.