Get an icon linked to the administration site which edits the referenced record. The record is identified by its ID. The recordname is only used for the display caption.


Namespace: Contensive.BaseClasses
Assembly: CPBase (in CPBase.dll)

Syntax

Visual Basic (Declaration)
Public MustOverride Function GetEditLink( _ 
   ByVal ContentName As String,  _ 
   ByVal RecordID As String,  _ 
   ByVal AllowCut As Boolean,  _ 
   ByVal RecordName As String,  _ 
   ByVal IsEditing As Boolean _ 
) As String
C#
public abstract string GetEditLink(
   string ContentName,
   string RecordID,
   bool AllowCut,
   string RecordName,
   bool IsEditing
)
C++
public:
 String GetEditLink(
   String ContentName,
   String RecordID,
   bool AllowCut,
   String RecordName,
   bool IsEditing
) abstract 
J#
public abstract string GetEditLink(
   string ContentName,
   string RecordID,
   bool AllowCut,
   string RecordName,
   bool IsEditing
)
JScript
public abstract  function GetEditLink(
   ContentName : String,
   RecordID : String,
   AllowCut : bool,
   RecordName : String,
   IsEditing : bool
) : String

Parameters

ContentName
RecordID
AllowCut
If true and the content allows cut and paste, and cut icon will be included in the return string.
RecordName
Used as a caption for the label
IsEditing
If false, this call returns nothing. Set it true if IsEdiing( contentname ) is true.

See Also