Microsoft SDK for Java

IClassInfo.getDefaultPropertyName

Retrieves the name of the default property of the component class.

Syntax

public String getDefaultPropertyName()

Return Value

Returns the default property name. If the component class has no property event, null is returned.

Remarks

The exact implications of a default property are defined by the tool that is editing the component. For example, when a component's properties are displayed in the Properties window, the default property is initially selected.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.