CHString::IsEmpty method

[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 IsEmpty method tests a CHString string for the empty condition.

Syntax


int IsEmpty();

Parameters

This method has no parameters.

Return value

If the CHString string has a length of zero, the IsEmpty method returns a nonzero value. If the CHString string has a nonzero length, the method returns zero.

Examples

The following code example shows the use of CHString::IsEmpty:


CHString s;
assert( s.IsEmpty() );

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

ChString.h (include FwCommon.h)

Library

FrameDyn.lib

DLL

FrameDynOS.dll;
FrameDyn.dll

 

 

Show: