ASM_CMP_FLAGS enumeration

The values of the ASM_CMP_FLAGS enumeration are used by the IsEqual method to specify which portions of two assembly names to compare.

Syntax


typedef enum  { 
  ASM_CMPF_NAME              = 0x1,
  ASM_CMPF_MAJOR_VERSION     = 0x2,
  ASM_CMPF_MINOR_VERSION     = 0x4,
  ASM_CMPF_BUILD_NUMBER      = 0x8,
  ASM_CMPF_REVISION_NUMBER   = 0x10,
  ASM_CMPF_PUBLIC_KEY_TOKEN  = 0x20,
  ASM_CMPF_CULTURE           = 0x40,
  ASM_CMPF_CUSTOM            = 0x80,
  ASM_CMPF_ALL,
  ASM_CMPF_DEFAULT           = 0x100
} ASM_CMP_FLAGS ;

Constants

ASM_CMPF_NAME

Compare the name portion of the assembly names.

ASM_CMPF_MAJOR_VERSION

Compare the major version portion of the assembly names.

ASM_CMPF_MINOR_VERSION

Compare the minor version portion of the assembly names.

ASM_CMPF_BUILD_NUMBER

Compare the build version portion of the assembly names.

ASM_CMPF_REVISION_NUMBER

Compare the revision version portion of the assembly names.

ASM_CMPF_PUBLIC_KEY_TOKEN

Compare the public key token portion of the assembly names.

ASM_CMPF_CULTURE

Compare the culture portion of the assembly names.

ASM_CMPF_CUSTOM

Compare the custom portion of the assembly names.

ASM_CMPF_ALL

Compare all portions of the assembly names. This is equivalent to setting:

ASM_CMPF_NAME | ASM_CMPF_MAJOR_VERSION | ASM_CMPF_MINOR_VERSION | ASM_CMPF_REVISION_NUMBER | ASM_CMPF_BUILD_NUMBER | ASM_CMPF_PUBLIC_KEY_TOKEN | ASM_CMPF_CULTURE | ASM_CMPF_CUSTOM

ASM_CMPF_DEFAULT

Ignore the version number to compare assemblies with simple names.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Winsxs.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft