IKnowledgeItem Interface

The IKnowledgeItem interface provides the set of common properties and methods inherited by all other document management objects except the KnowledgeVersion object.

Extends

IDispatch interface

Properties

The following table shows the properties of the IKnowledgeItem interface, the type of each property, and brief descriptions 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.
ContentClassObject

[Visual Basic]KnowledgeContentClass

[C++]IKnowledgeContentClass

KnowledgeContentClass object that defines the properties for this object. This is a read-only property.
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.
DataSource

[Visual Basic]IDataSource

[C++]IDataSource

IDataSource interface for this object. This is a read-only property.
Description

[Visual Basic]String

[C++]BSTR

Description of this object.
DisplayName

[Visual Basic]String

[C++]BSTR

Name that is displayed for this object. This is a read-only property.
Fields

[Visual Basic]Fields

[C++]Fields

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

[Visual Basic]Date

[C++]Date

Date and time in Greenwich mean time (GMT) that the item was last modified in the local user's database or file system. This is a read-only property.
Href

[Visual Basic]String

[C++]BSTR

Absolute URL of the item. This is a read-only property.
Interfaces

[Visual Basic]Variant

[C++]VARIANT

List of interfaces that this object implements. This is a read-only property.
IsHidden

[Visual Basic]Boolean

[C++]VARIANT_BOOL

Flag that indicates whether the item is hidden.
IsReadOnly

[Visual Basic]Boolean

[C++]VARIANT_BOOL

Flag that indicates whether the item is read-only.
PromptToAuthenticate

[Visual Basic]Boolean

[C++]VARIANT_BOOL

Flag that indicates whether to show an authentication dialog box when access fails.
Property

[Visual Basic]Variant

[C++]VARIANT

Value of a specified property.
Title

[Visual Basic]String

[C++]BSTR

Short string that identifies the object.
Methods

The following table shows the methods of the IKnowledgeItem interface, with brief descriptions for each.

Name Description
Copy Copies the object to a new location.
Delete Deletes the object or its specified child objects.
GetInterface Gets a specified interface implemented by this object.
Move Moves the object to a new location. This overwrites any previously existing object of the same name without prompting for confirmation.
Remarks

The IKnowledgeItem interface cannot be instantiated as a separate object. Because all of the other document management objects directly expose its methods and properties, it is not addressed explicitly.

Addressing by Using URLs

Binding to Items Stored in SharePoint Portal Server

SharePoint Portal Server Code Practices

Using the Document Management Object Model