DiscoveryAddDocumentUsingConfigFile Method |
Namespace:
IBM.Watson.DeveloperCloud.Services.Discovery.v1
Assembly:
UnityDocumentationBuilder (in UnityDocumentationBuilder.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool AddDocumentUsingConfigFile(
DiscoverySuccessCallback<DocumentAccepted> successCallback,
DiscoveryFailCallback failCallback,
string environmentID,
string collectionID,
byte[] contentData,
string contentMimeType,
string configurationFilePath,
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
- contentData
- Type: SystemByte
- contentMimeType
- Type: SystemString
- configurationFilePath
- Type: SystemString
- metadata (Optional)
- Type: SystemString
- customData (Optional)
- Type: System.Collections.GenericDictionaryString, Object
Return Value
Type:
BooleanSee Also