Artificial Intelligence
Artificial Intelligence
Information

KnowledgeBase.GetPackageById(int) method


      Gets an object of the class Package specified by its ID (from version 1.2.0.0).


Namespace : ielib
Assembly : ielib.dll

public Package GetPackageById(int Id)

Parameters

Type : System.Int32.

Id : represents the ID of a package.

Return value

Type : ielib.Package

An object of the Package class that has the identifier specified is found, otherwise null


      Note : The ID of a package is distributed through the use of the methods KnowledgeBase.AddPackage(string) or KnowledgeBase.AddPackage(Package) to add a package to the knowledge base. It gets the user ID of a package by the Package.Id property.