AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IRemoteDocument.SetType Method

Sets the document type identifier and namespace, which help the portal decide how to interpret a document's metadata.

void SetType(
string typeNameSpace,
string typeID
);

#### Parameters

typeNameSpace
  The document's TypeNamespace.
typeID
  The document's TypeID.

#### Remarks

Standard namespaces are "File" and "MIME," although crawlers may define new namespaces. The TypeID is typically the name of the file for the "File" namespace and the MIME type of the file for the "MIME" namespace. If a crawler defines its own namespace, then the TypeID may have a different interpretation.

#### See Also

IRemoteDocument Interface | Plumtree.Remote.PRC Namespace