CogBlobResults GetParent Method Cognex VisionPro
Get the parent of the blob specified by ID. Returns Nothing for top level blobs which do not have parents.

Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax

public CogBlobResult GetParent(
	int blobID
)

Parameters

blobID
Type: System Int32
The ID of the blob the parent of which is returned.

Return Value

Type: CogBlobResult
The returned CogBlobResult.
Exceptions

ExceptionCondition
ArgumentExceptionblobID is less than 1 or greater than the number of unfiltered blobs in this CogBlobResults.
InvalidOperationException If no result data is available.
Remarks

Get the parent of the blob specified by the supplied ID.
See Also