ShowObjectProperty Method

Adds a named object that already has an object model associated with it.

Visual Basic Syntax

oRuntimeClassInfoAuthor.ShowObjectProperty sName, rcia[, sDocumentation]

Parameters

oRuntimeClassInfoAuthor

Name of a RuntimeClassInfoAuthor object.

sName

Name of the object-valued property.

rcia

RuntimeClassInfoAuthor representing the object model.

sDocumentation

(optional) Description of this property.

Visual C++ Syntax

HRESULT ShowObjectProperty(

BSTR bstrPropertyName,

IUnknown *punkClassInfo

VARIANT varDocumentation

);

Parameters

bstrPropertyName

[in] The name of the property.

punkclassinfo

[in] RuntimeClassInfoAuthor representing the object model.

varDocumentation

[in] Description of this property.

Return Values

The return value obtained from HRESULT is one of the following:

Return Value Meaning
S_OK

The property was added.

E_FAIL

The property was not added.


Applies to   IRuntimeClassInfoAuthor Interface