Click or drag to resize

Discovery.GetCollection Method

Lists a specified collecton'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 GetCollection(
	Discovery.SuccessCallback<Collection> successCallback,
	Discovery.FailCallback failCallback,
	string environmentID,
	string collectionID,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.Discovery.v1.Discovery.SuccessCallback<Collection>
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.Discovery.v1.Discovery.FailCallback
The fail callback.
environmentID
Type: System.String
The environment identifier.
collectionID
Type: System.String
The collection identifier.
customData (Optional)
Type: System.Collections.Generic.Dictionary<String, Object>
Optional custom data.

Return Value

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