ShowProperty Method

Adds a property to the RuntimeClassInfoAuthor object. All such properties are considered typeless.

Visual Basic Syntax

RuntimeClassInfoAuthor.ShowProperty sProperty[, sDocumentation]

Parameters

RuntimeClassInfoAuthor

Name of the property.

sProperty

(optional) String specifying the name of the property.

sDocumentation

(optional) Description of this property.

Visual C++ Syntax

HRESULT ShowProperty([in] BSTR bstrPropertyName, VARIANT varDocumentation);

Parameters

bstrPropertyName

[in] The name of the property.

varDocumentation

(optional) 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