CRegKey::operator =

Assignment operator.

CRegKey& operator =(
   CRegKey& key 
) throw( );

Parameters

  • key
    The key to copy.

Return Value

Returns a reference to the new key.

Remarks

This operator detaches key from its current object and assigns it to the CRegKey object instead.

Requirements

Header: atlbase.h

See Also

Concepts

CRegKey Class

CRegKey Members