Venice
Artcl::SeekByAlias
 
Seeks an Article card by its alias.
 
VARIANT_BOOL SeekByAlias (
    enum eSeekMode eSeekMode,
    BSTR bsAlias
)
 
Key information
This method uses key number 2 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pAliasBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsAlias
[in] The alias of the Article you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateArtcl
 
Samples
 
C++
 
// Seek the article with alias = 'ALIAS'
if (pArtcl->SeekByAlias (smEqual, "ALIAS"))
    // Process record data

C#
 
// Seek the article with alias = 'ALIAS'
if (oArtcl.SeekByAlias (eSeekMode.smEqual, "ALIAS"))
    // Process record data

VBS
 
' Seek the article with alias = 'ALIAS'
If oArtcl.SeekByAlias(smEqual, "ALIAS") Then
    ' Process record data
End If

VB.NET
 
' Seek the article with alias = 'ALIAS'
If oArtcl.SeekByAlias(eSeekMode.smEqual, "ALIAS") Then
    ' Process record data
End If