AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# ChildDocument Constructor (String, TypeNamespace, String, String)

Valued constructor.

public ChildDocument(
string location,
TypeNamespace typeNameSpace,
string typeID,
string displayName
);

#### Parameters

location
  The location of the child document.
typeNameSpace
  The `TypeNameSpace` of the child document, for example `TypeNamespace.MIME`.
typeID
  The `TypeID` of the child document. For `TypeNamespace.FILE`, this is the name of the document with the extension. For `TypeNameSpace.MIME`, this is the MIME type, for example text/html
displayName
  The display name of the child document.

#### Remarks

The `location` is the string used to retrieve the document in AttachToDocument. For example, this could be a UNC path for a file crawler, or a concatenation of database, table, and primary keys for a database crawler, separated by a developer-chosen delimiter. The location string would then be parsed as required in the developer's implementation of the `IDocumentProvider.AttachToDocument` method. Keep in mind that `IDocumentProvider` does not have access to `CrawlInfo`, so any crawler values required in `IDocumentProvider.AttachToDocument` should be added to the location string to be parsed in that method.

#### See Also

ChildDocument Class | Plumtree.Remote.Crawler Namespace | ChildDocument Constructor Overload List | AttachToDocument