Return a record's ID given it's name. If duplicates exist, the first one ordered by ID is returned.


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

Syntax

Visual Basic (Declaration)
Public MustOverride Function GetRecordID( _ 
   ByVal ContentName As String,  _ 
   ByVal RecordName As String _ 
) As Integer
C#
public abstract int GetRecordID(
   string ContentName,
   string RecordName
)
C++
public:
 int GetRecordID(
   String ContentName,
   String RecordName
) abstract 
J#
public abstract int GetRecordID(
   string ContentName,
   string RecordName
)
JScript
public abstract  function GetRecordID(
   ContentName : String,
   RecordName : String
) : int

Parameters

ContentName
RecordName

See Also