共用方式為


ICategory interface

Represents the category to which an update belongs.

Members

The ICategory interface inherits from the IDispatch interface. ICategory also has these types of members:

  • Properties

Properties

The ICategory interface has these properties.

Property Access type Description

CategoryID

Read-only

Gets the identifier of the category.

Children

Read-only

Gets an interface collection that contains the child categories of this category.

Description

Read-only

Gets the description of the category.

Image

Read-only

Gets an interface that contains information about the image that is associated with the category.

Name

Read-only

Gets the localized name of the category.

Order

Read-only

Gets the recommended display order of this category among its sibling categories.

Parent

Read-only

Gets an interface that describes the parent category of this category.

Type

Read-only

Gets the type of the category.

Updates

Read-only

Gets an interface that contains a collection of updates that immediately belong to the category.

 

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

IID

IID_ICategory is defined as 81DDC1B8-9D35-47A6-B471-5B80F519223B