Click or drag to resize

DiscoveryGetDocument Method

Lists a specified document's details.

Namespace:  IBM.Watson.DeveloperCloud.Services.Discovery.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetDocument(
	DiscoverySuccessCallback<DocumentStatus> successCallback,
	DiscoveryFailCallback failCallback,
	string environmentID,
	string collectionID,
	string documentID,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.Discovery.v1DiscoverySuccessCallbackDocumentStatus
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.Discovery.v1DiscoveryFailCallback
The fail callback.
environmentID
Type: SystemString
The environment identifier.
collectionID
Type: SystemString
The collection identifier.
documentID
Type: SystemString
The document identifier.
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object
Optional custom data.

Return Value

Type: Boolean
True if the call succeeds, false if the call is unsuccessful.
See Also