[The CHString class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
The GetLength method gets a count of the number of wide characters in this CHString string. The count does not include a NULL terminator.
int GetLength( );
This method has no parameters.
Returns a count of the number of wide characters in the string, not the number of bytes.
|Windows version||Windows Vista Windows Server 2008|
|Header||chstring.h (include FwCommon.h)|