IVsSettingsReader.ReadCategoryVersion(Int32, Int32, Int32, Int32) Method

Definition

Returns the value of a category version object stored in the Visual Studio settings file.

C++/WinRT
int ReadCategoryVersion([Runtime::InteropServices::Out] int & pnMajor, [Runtime::InteropServices::Out] int & pnMinor, [Runtime::InteropServices::Out] int & pnBuild, [Runtime::InteropServices::Out] int & pnRevision);

Parameters

pnMajor
Int32

[out] The major version number of the category.

pnMinor
Int32

[out] The minor version number of the category.

pnBuild
Int32

[out] The build number of the category.

pnRevision
Int32

[out] The revision number of the category.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022