ITcTypeInstance10::GetIecDeclaration
Returns the IEC declaration of the type for the current target. Unlike the IecDeclaration property of ITcTypeInstance, this method lets you control whether members are output with namespace prefixes.
Signature
HRESULT GetIecDeclaration(VARIANT_BOOL bUseNamespaceForMembers, BSTR* pIecDeclaration);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bUseNamespaceForMembers |
VARIANT_BOOL |
[in] |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
pIecDeclaration |
BSTR* |
[out, retval] IEC declaration of the type. |
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_POINTER:pIecDeclarationisNULL.
See also
- ITcTypeInstance