Sets the category property to the new category, category
,
and increments its reference count.
category
must not be null
. For more information, see the
online documentation.
this | |
category |
a new MediaCategory |