ITcTypeInstance3::GetChildItemName

Returns the name of a child element based on a 0-based index. Struct fields are returned as .Feldname, and array elements as [Index], taking into account the lower array boundary.

Signature

HRESULT GetChildItemName(long idx, BSTR* pName);

Parameter

Name

Type

Description

idx

long

[in] 0-based child index.

Return value

Name

Type

Description

pName

BSTR*

[out, retval] Child name in field or array notation.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes

See also