You are reading help file online using chmlib.com
|
ISpSREngineSite::IsAlternate determines whether one rule is an alternate of another.
HRESULT IsAlternate(
SPRULEHANDLE hPriRule,
SPRULEHANDLE hAltRule
);
Value | Description |
---|---|
S_OK | hAltRule is an alternate of hPriRule. |
S_FALSE | hAltRule is not an alternate of hPriRule. |
FAILED (hr) | Appropriate error message. |
This method is used because it is not possible to return alternates for CFG rules from different recognition contexts. This method provides an easy way for engines to determine whether two rules belong to the same context.
You are reading help file online using chmlib.com
|