DotNetWikiBot Framework Documentation
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Returns the List object.
Returns the list of strings which contains categories' names found in
page text. Categories added by templates are not returned. Use
GetAllCategories()()()()
function to get categories added by templates too.
Namespace: DotNetWikiBotAssembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Syntax
C# |
---|
public List<string> GetCategories( bool withNameSpacePrefix, bool withSortKey ) |
Parameters
- withNameSpacePrefix
- Type: System..::..Boolean
If true, function returns strings with namespace prefix like "Category:Stars", not just "Stars".
- withSortKey
- Type: System..::..Boolean
If true, function returns strings with sort keys, if found. Like "Stars|D3" (in [[Category:Stars|D3]]).
Return Value
Type: List<(Of <(<'String>)>)>Returns the List object.