- category
- The WIA 2.0 item category ID. For a list of available categories refer to WiaCategories.
Visual Basic (Declaration) | |
---|---|
Public Shared Sub GetCategoryGuid( _ ByVal category As WiaCategories _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static void GetCategoryGuid( WiaCategories category ) |
C++/CLI | |
---|---|
public: static void GetCategoryGuid( WiaCategories category ) |
Parameters
- category
- The WIA 2.0 item category ID. For a list of available categories refer to WiaCategories.
This method is only used when using WIA version 2.0. Each WIA 2.0 item has a category represented as Guid structure that can be retrieved by calling the GetPropertyGuid method, and passing WiaPropertyId.ItemCategory for the propertyId parameter of this method. Doing so fills the GuidValue property. To determine the relevant category for the received GuidValue, call the GetCategoryGuid method for each available category in the WiaCategories enumeration and then compare the filled CategoryGuid property with the one in the GuidValue property.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family