|
|
|
IItemNameLimits Interface |
|
IID_IItemNameLimits |
{1DF0D7F1-B267-4D28-8B10-12E23202A5C4} |
|
The IItemNameLimits interface 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.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IItemNameLimits Method |
Description |
|
GetValidCharacters |
Loads a string that contains each of the characters that are valid or invalid in the namespace under which it is called. |
|
GetMaxLength |
Returns the maximum number of characters allowed for a particular name in the namespace under which it is called. |
|
GetValidCharacters |
|
FUNCTION Proto_IItemNameLimits_GetValidCharacters ( _
FUNCTION
IItemNameLimits_GetValidCharacters ( _ LOCAL bstrlen AS LONG LOCAL ppwszValidChars AS DWORD
LOCAL ppwszInvalidChars
AS DWORD
|
|
GetMaxLength |
|
FUNCTION
IItemNameLimits_GetValidCharacters ( _
strName = UCODE$(strName) &
$NUL
|
Page last updated on Wednesday, 15 February 2006 22:54:46 +0100