IVsSettingsReader.ReadCategoryVersion(Int32, Int32, Int32, Int32) Method
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.
Returns the value of a category version object stored in the Visual Studio settings file.
public:
int ReadCategoryVersion([Runtime::InteropServices::Out] int % pnMajor, [Runtime::InteropServices::Out] int % pnMinor, [Runtime::InteropServices::Out] int % pnBuild, [Runtime::InteropServices::Out] int % pnRevision);
int ReadCategoryVersion([Runtime::InteropServices::Out] int & pnMajor, [Runtime::InteropServices::Out] int & pnMinor, [Runtime::InteropServices::Out] int & pnBuild, [Runtime::InteropServices::Out] int & pnRevision);
public int ReadCategoryVersion (out int pnMajor, out int pnMinor, out int pnBuild, out int pnRevision);
abstract member ReadCategoryVersion : int * int * int * int -> int
Public Function ReadCategoryVersion (ByRef pnMajor As Integer, ByRef pnMinor As Integer, ByRef pnBuild As Integer, ByRef pnRevision As Integer) As Integer
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.