WindowClass.Versioned Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that controls whether the internal window class name that is used in registration contains the version of the assembly that contains the window class.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
property bool Versioned { bool get(); };
public bool Versioned { get; }
member this.Versioned : bool
Public ReadOnly Property Versioned As Boolean
Property Value
yes
if the name that is used in registration contains the version of the assembly; otherwise, no
. The default is yes
.
Remarks
This property controls whether the internal window class name that is used in registration contains the version of the assembly that contains the window class. The value of this attribute can be yes
or no
. The default is yes
. The value no
should be used only if the same window class is defined by a side-by-side component and an equivalent non-side-by-side component and you want to treat them as the same window class. Note that the usual rules about window class registration apply: only the first component that registers the window class will be able to register it, because it does not have a version applied to it.