Important: The information in this document is obsolete and should not be used for new development.
GetContentKind
Retrieves the part kind of the data referenced by this Cyberdog item.
ODTypeToken GetContentKind ();
- return value
- The part kind of the data referenced by the
CyberItem
object.DISCUSSION
If this Cyberdog item references downloadable data, this method should return the part kind of the data that is provided by the corresponding Cyberdog stream. Otherwise, this method should return the constantkODNullTypeToken
. The superclass implementation returnskODNULLTypeToken
.This method should call the
ODSession::GetTokenizer
method of OpenDoc to translate the Cyberdog item's part kind into anODTypeToken
. This method should throw thekCDErrItemNotResolved
exception if the Cyberdog item is not resolved.If you subclass
CyberItem
and override this method, your override must not call its inherited method; that is, your override method must implement this method's functionality completely.