Partager via


IVsSettingsWriter.WriteCategoryVersion(Int32, Int32, Int32, Int32) Method

Definition

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

public:
 int WriteCategoryVersion(int nMajor, int nMinor, int nBuild, int nRevision);
public:
 int WriteCategoryVersion(int nMajor, int nMinor, int nBuild, int nRevision);
int WriteCategoryVersion(int nMajor, int nMinor, int nBuild, int nRevision);
public int WriteCategoryVersion (int nMajor, int nMinor, int nBuild, int nRevision);
abstract member WriteCategoryVersion : int * int * int * int -> int
Public Function WriteCategoryVersion (nMajor As Integer, nMinor As Integer, nBuild As Integer, nRevision As Integer) As Integer

Parameters

nMajor
Int32

[in] The major version number of the category.

nMinor
Int32

[in] The minor version number of the category.

nBuild
Int32

[in] The build number of the category.

nRevision
Int32

[in] 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