Share via


Clear Method [IInkExtendedProperties Interface]

Clear Method [IInkExtendedProperties Interface]

Clears all of the IInkExtendedProperty objects from the IInkExtendedProperties collection.

Declaration

[C++]

HRESULT Clear();

[Microsoft® Visual Basic® 6.0]

Public Sub Clear()

Parameters

This method takes no parameters.

Return Value

HRESULT value Description
S_OK Success.
E_INK_EXCEPTION An exception occurred inside the method.
E_FAIL An unspecified error occurred.

Remarks

To clear only one extended property at a time, call the Remove method of the IInkExtendedProperties collection.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example clears all of the extended properties of the InkCollector.Ink object.

theInkCollector.Ink.ExtendedProperties.Clear

Applies To