The
IGDACGenotypeProbeList interface provices access to Genotype probe list data.
COM
ATTRIBUTES
Attribute
Type/Supported
Threading model
Both
Interface
Dual
Aggregation
No
ISupportErrorInfo
Yes
Connection Points
No
Free Threading Marshaler
No
PROPERTIES
ListIndex
ID
1
Description
The index of the probe list within the probe group.
Type
long
Access
Read-only
Remarks
NA
NumProbes
ID
2
Description
The
number of probes within the probe list.
Type
long
Access
Read-only
Remarks
Genotype arrays contain 2 probes per probe list, 1 perfect match probe and 1 single
base mismatch probe.
METHODS
GetProbeByIndex
ID
3
Description
This function method returns a probe in the list.
Prototype
HRESULT
GetProbeByIndex([in] long nIndex, [in] IGDACProbe
*iProbe)
Parameters
long
nIndex - The index of the group (input). IGDACProbe
*iProbe - Probe object (input/output)
Return
HRESULT
- S_OK if successful, E_POINTER if iProbePair is NULL or E_FAIL otherwise.
Remarks
The user has to create the IGDACProbe
instance before passing it into the method.
The contents of the IGDACProbe
will be reset if the probe list has not been initialized.
GetProbes
ID
4
Description
This
function returns all probes in the probe list.
Prototype
HRESULT
GetProbes([in, out] VARIANT *iProbes)
Parameters
VARIANT
*iProbes - A variant structure holding the probe objects.
Return
HRESULT
- S_OK if successful or E_FAIL otherwise.
Remarks
This method will create individual IGDACProbe
instance for each probe element and add it to the variant array. The user can
use the NumProbes to get
the total number of probes available and iterate the variant array. It is required
to destroy each object inside the array after used.
The variant will be
returned empty if the probe list has not been initialized and set.