IKnowledgeDictionary Interface

The IKnowledgeDictionary interface defines the methods and properties of, and is implemented by, the KnowledgeDictionary object.

The KnowledgeDictionary object provides values for a property defined by a KnowledgePropertyDef object.

Extends

IKnowledgeMessage interface

Properties

The following table shows the properties of the IKnowledgeDictionary interface, the type of each interface, and a brief description of each. All properties are read/write, except where noted.

Name Type Description
ContentClass

[Visual Basic]String

[C++]BSTR

Uniform Resource Identifier (URI) of the content class that defines the properties for this object. This property is inherited from the KnowledgeItem object.
ContentClassObject

[Visual Basic]KnowledgeContentClass

[C++]IknowledgeContentClass

KnowledgeContentClass object that defines the properties for this object. This is a read-only property inherited from the KnowledgeItem object.
CreationDate

[Visual Basic]Date

[C++]Date

Date and time in Greenwich mean time (GMT) that the item was created in the local database or file system. This is a read-only property inherited from the KnowledgeItem object.
DataSource

[Visual Basic]IDataSource

[C++]IDataSource

IDataSource interface for this object. This is a read-only property inherited from the KnowledgeItem object.
Description

[Visual Basic]String

[C++]BSTR

Description of this object. This property is inherited from the KnowledgeItem object.
DictionaryValues

[Visual Basic]Variant

[C++]VARIANT

List of property values for this object.
DisplayName

[Visual Basic]String

[C++]BSTR

Name that is displayed for this object. This is a read-only property inherited from the KnowledgeItem object.
Fields

[Visual Basic]String

[C++]BSTR

ActiveX Data Objects (ADO) fields collection associated with this object. This is a read-only property inherited from the KnowledgeItem object.
GetLastModified

[Visual Basic]Date

[C++]Date

Date and time in GMT that the item was last modified in the local user's database or file system. This is a read-only property inherited from the KnowledgeItem object.
Href

[Visual Basic]String

[C++]BSTR

Absolute URL of the item. This is a read-only property inherited from the KnowledgeItem object.
Interfaces

[Visual Basic]Variant

[C++]VARIANT

List of interfaces that this object supports. This is a read-only property inherited from the KnowledgeItem object.
IsRestricted

[Visual Basic]Boolean

[C++]VARIANT_BOOL

Flag that indicates whether a value for a property is restricted to one of the defined values in the dictionary list. The default value is VARIANT_TRUE.
Name

[Visual Basic]String

[C++]BSTR

Name or URI of the dictionary.
Property

[Visual Basic]Variant

[C++]VARIANT

Value of a specified property. This property is inherited from the KnowledgeItem object.
Methods

The following table shows the methods of the IKnowledgeDictionary interface, and a brief description of each.

Name Description
Delete Deletes the object or its specified child objects. This method is inherited from the KnowledgeItem object.
GetInterface Gets a specified interface implemented by this object. This method is inherited from the KnowledgeItem object.
Remarks

Multiple KnowledgePropertyDef objects can share a single KnowledgeDictionary object. Always create the dictionary in the system/schema directory under the workspace.

Example

To see this object in a fuller context, see Document Management Object Model Sample.

Requirements
  • Type Library
    Microsoft PKMCDO for Microsoft Web Storage System
  • Inproc Server
    %Program Files%\Common Files\PKMCDO.dll

Addressing by Using URLs

Binding to Items Stored in SharePoint Portal Server

SharePoint Portal Server Code Practices

Using the Document Management Object Model