IKnowledgePropertyDef Interface
The IKnowledgePropertyDef interface defines the methods and properties of, and is implemented by, the KnowledgePropertyDef object.
The IKnowledgePropertyDef interface defines a particular documentproperty. The Dictionary property of the KnowledgePropertyDef object may associate the document property with a KnowledgeDictionary object that contains a series of possible property values.
Extends
IKnowledgeMessage interface
Properties
The following table shows the properties of the IKnowledgePropetyDef interface, the type of each property, and a brief description of each. All properties are read/write, except where noted.
Name | Type | Description |
---|---|---|
CodeBase | Not supported. | |
COMClassId | Not supported. | |
COMProgId | Not supported. | |
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. |
Default | Not supported. | |
Description | [Visual Basic]String [C++]BSTR |
Description of this object. This property is inherited from the KnowledgeItem object. |
Dictionary | [Visual Basic]String [C++]BSTR] |
URI of the dictionary for this property definition. Default is an empty string. |
DisplayContext | [Visual Basic]Long [C++]LONG |
Visibility of the property definition in the user interface. |
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 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 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. |
IsContentIndexed | [Visual Basic]Boolean [C++]VARIANT_BOOL |
Flag that indicates whether a property is indexed for full-text search. The default value is VARIANT_FALSE. |
IsIndexed | [Visual Basic]Boolean [C++]VARIANT_BOOL |
Flag that indicates whether the Exchange search engineindexesthe property. |
IsMultivalued | [Visual Basic]Boolean [C++]VARIANT_BOOL |
Flag that indicates whether a single property can contain multiple values. |
IsMutable | Not supported. | |
IsReadOnly_PDEF | [Visual Basic]Boolean [C++]VARIANT_BOOL |
Flag that indicates whether the property is read-only. |
IsRequired | [Visual Basic]Boolean [C++]VARIANT_BOOL |
Flag that indicates whether a value is required for this property. |
IsRetrieved | [Visual Basic]Boolean [C++]VARIANT_BOOL |
Flag that indicates whether the property can be returned as a column in searches. |
IsVisible | Not supported. | |
Name | [Visual Basic]String [C++]BSTR |
Name or URI of the KnowledgePropertyDef object. |
ObjectModelName | Not supported. | |
Property | [Visual Basic]Variant [C++]VARIANT |
Value of a specified property. This property is inherited from the KnowledgeItem object. |
Synchronize | Not supported. | |
Title | [Visual Basic]String [C++]BSTR |
Short string that identifies the object. This property is inherited from the KnowledgeItem object. |
Type | [Visual Basic]String [C++]BSTR |
Data type of the property. |
Version | Not supported. |
Methods
The following table shows the methods of the IKnowledgePropetyDef interface, and a brief description for each.
Name | Description |
---|---|
Delete | Deletes the object or its specified child objects. This method is inherited from the KnowledgeItem object. |
GenerateOverrideURI | Not supported. |
GetInterface | Gets a specified interface implemented by this object. This method is inherited from the KnowledgeItem object. |
Remarks
Any number of KnowledgePropertyDef objects can link to the same KnowledgeDictionary object. However, a KnowledgePropertyDef object can link to only one KnowledgeDictionary object.
Always create the property definition 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
Related Topics
Binding to Items Stored in SharePoint Portal Server