GetName

The GetName method returns the alternate name at a specified index of an alternate name array.

[VB] BSTR GetName(
  long NameIndex  
);
 
[JAVA] java.lang.String GetName(
  int NameIndex               
);
 
[C++] HRESULT GetName(
  LONG NameIndex,             // in
  BSTR * pstrName             // out, return value
);
 

Parameters

[VB][JAVA][C++] NameIndex
Specifies the index of the alternate name entry.
[C++] pstrName
Points to the return value. See Return Values.

Return Values

Returns the alternate name at the specified index. The return value is a Unicode string.


© 1997 by Microsoft Corporation. All rights reserved.