Click or drag to resize

DiscoveryUpdateDocument Method (DiscoverySuccessCallbackDocumentAccepted, DiscoveryFailCallback, String, String, String, Byte, 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
C#
public bool UpdateDocument(
	DiscoverySuccessCallback<DocumentAccepted> successCallback,
	DiscoveryFailCallback failCallback,
	string environmentID,
	string collectionID,
	string documentID,
	byte[] contentData,
	string contentMimeType,
	string configurationID = null,
	string configuration = 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
documentID
Type: SystemString
contentData
Type: SystemByte
contentMimeType
Type: SystemString
configurationID (Optional)
Type: SystemString
configuration (Optional)
Type: SystemString
metadata (Optional)
Type: SystemString
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object

Return Value

Type: Boolean
See Also