IVsSettingsWriter.WriteCategoryVersion Method
Sets the value of a category version object stored in the Visual Studio settings file.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function WriteCategoryVersion ( _
nMajor As Integer, _
nMinor As Integer, _
nBuild As Integer, _
nRevision As Integer _
) As Integer
int WriteCategoryVersion(
int nMajor,
int nMinor,
int nBuild,
int nRevision
)
int WriteCategoryVersion(
[InAttribute] int nMajor,
[InAttribute] int nMinor,
[InAttribute] int nBuild,
[InAttribute] int nRevision
)
abstract WriteCategoryVersion :
nMajor:int *
nMinor:int *
nBuild:int *
nRevision:int -> int
function WriteCategoryVersion(
nMajor : int,
nMinor : int,
nBuild : int,
nRevision : int
) : int
Parameters
nMajor
Type: System.Int32[in] The major version number of the category.
nMinor
Type: System.Int32[in] The minor version number of the category.
nBuild
Type: System.Int32[in] The build number of the category.
nRevision
Type: System.Int32[in] The revision number of the category.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.