All Frameworks Class Hierarchy This Framework Previous Next Indexes
VPMInterfaces Interface CATICfgCatLnk
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATICfgCatLnk
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICfgCatLnk
Class to manage properties of a Category
- See also:
- CATICfgSpecCategory
Method Index
- o
IsMandatory()
-
Check whether the category is mandatory or not.
- o
IsTypeDefining()
-
Check whether the category can be used to define a ProductType.
- o
SetMandatory()
-
Make the category mandatory.
- o
SetTypeDefining()
-
Make the category usable to define a Product Type.
- o
UnsetMandatory()
-
Make the category optional.
- o
UnsetTypeDefining()
-
Make the category not usable to define a ProductType.
Methods
o IsMandatory
public virtual HRESULT IsMandatory( | )const = 0 |
-
Check whether the category is mandatory or not.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The category is mandatory.
- S_FALSE
- The category is not mandatory.
- E_FAIL
- An error occured
o IsTypeDefining
public virtual HRESULT IsTypeDefining( | )const = 0 |
-
Check whether the category can be used to define a ProductType.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The category can be used to define a ProducType.
- S_FALSE
- The category can not be used to define a ProducType.
- E_FAIL
- An error occured
o SetMandatory
public virtual HRESULT SetMandatory( | )= 0 |
-
Make the category mandatory.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- SetMandatory succeeds.
- E_FAIL
- An error occured
o SetTypeDefining
public virtual HRESULT SetTypeDefining( | )= 0 |
-
Make the category usable to define a Product Type.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- SetTypeDefining succeeds.
- E_FAIL
- An error occured
o UnsetMandatory
public virtual HRESULT UnsetMandatory( | )= 0 |
-
Make the category optional.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- SetMandatory succeeds.
- E_FAIL
- An error occured
o UnsetTypeDefining
public virtual HRESULT UnsetTypeDefining( | )= 0 |
-
Make the category not usable to define a ProductType.
Caution: This will delete this link between the CO and the Category
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The category can no longer be used to define a ProducType.
- E_FAIL
- An error occured
This object is included in the file: CATICfgCatLnk.h
If needed, your Imakefile.mk should include the module: GUIDVPMInterfaces