DiscoveryAddDocument Method (DiscoverySuccessCallbackDocumentAccepted, DiscoveryFailCallback, String, String, String, String, String, String, DictionaryString, Object) |
Namespace:
IBM.Watson.DeveloperCloud.Services.Discovery.v1
Assembly:
UnityDocumentationBuilder (in UnityDocumentationBuilder.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool AddDocument(
DiscoverySuccessCallback<DocumentAccepted> successCallback,
DiscoveryFailCallback failCallback,
string environmentID,
string collectionID,
string contentFilePath,
string configurationID = null,
string configurationFilePath = null,
string metadata = null,
Dictionary<string, Object> customData = null
)
Parameters
- successCallback
- Type: IBM.Watson.DeveloperCloud.Services.Discovery.v1DiscoverySuccessCallbackDocumentAccepted
- failCallback
- Type: IBM.Watson.DeveloperCloud.Services.Discovery.v1DiscoveryFailCallback
- environmentID
- Type: SystemString
- collectionID
- Type: SystemString
- contentFilePath
- Type: SystemString
- configurationID (Optional)
- Type: SystemString
- configurationFilePath (Optional)
- Type: SystemString
- metadata (Optional)
- Type: SystemString
- customData (Optional)
- Type: System.Collections.GenericDictionaryString, Object
Return Value
Type:
BooleanSee Also