Επεξεργασία

Κοινή χρήση μέσω


IItemNameLimits interface (shobjidl_core.h)

Retrieves a list of valid and invalid characters or the maximum length of a name in the namespace. Use this interface for validation parsing and translation.

Inheritance

The IItemNameLimits interface inherits from the IUnknown interface. IItemNameLimits also has these types of members:

Methods

The IItemNameLimits interface has these methods.

 
IItemNameLimits::GetMaxLength

Returns the maximum number of characters allowed for a particular name in the namespace under which it is called.
IItemNameLimits::GetValidCharacters

Loads a string that contains each of the characters that are valid or invalid in the namespace under which it is called.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)