Discovery.UpdateDocument Method (Discovery.SuccessCallback<DocumentAccepted>, Discovery.FailCallback, String, String, String,Byte[], String, String, String, String, Dictionary<String, Object>) |
Namespace:
IBM.Watson.DeveloperCloud.Services.Discovery.v1
Assembly:
UnityDocumentationBuilder (in UnityDocumentationBuilder.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool UpdateDocument(
Discovery.SuccessCallback<DocumentAccepted> successCallback,
Discovery.FailCallback 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.v1.Discovery.SuccessCallback<DocumentAccepted>
- failCallback
- Type: IBM.Watson.DeveloperCloud.Services.Discovery.v1.Discovery.FailCallback
- environmentID
- Type: System.String
- collectionID
- Type: System.String
- documentID
- Type: System.String
- contentData
- Type:System.Byte[]
- contentMimeType
- Type: System.String
- configurationID (Optional)
- Type: System.String
- configuration (Optional)
- Type: System.String
- metadata (Optional)
- Type: System.String
- customData (Optional)
- Type: System.Collections.Generic.Dictionary<String, Object>
Return Value
Type:
Boolean
See Also