IVsSettingsReader.ReadFileVersion Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function ReadFileVersion ( _
<OutAttribute> ByRef pnMajor As Integer, _
<OutAttribute> ByRef pnMinor As Integer, _
<OutAttribute> ByRef pnBuild As Integer, _
<OutAttribute> ByRef pnRevision As Integer _
) As Integer
'使用
Dim instance As IVsSettingsReader
Dim pnMajor As Integer
Dim pnMinor As Integer
Dim pnBuild As Integer
Dim pnRevision As Integer
Dim returnValue As Integer
returnValue = instance.ReadFileVersion(pnMajor, _
pnMinor, pnBuild, pnRevision)
int ReadFileVersion(
out int pnMajor,
out int pnMinor,
out int pnBuild,
out int pnRevision
)
int ReadFileVersion(
[OutAttribute] int% pnMajor,
[OutAttribute] int% pnMinor,
[OutAttribute] int% pnBuild,
[OutAttribute] int% pnRevision
)
function ReadFileVersion(
pnMajor : int,
pnMinor : int,
pnBuild : int,
pnRevision : int
) : int
Parameters
pnMajor
Type: System.Int32%
pnMinor
Type: System.Int32%
pnBuild
Type: System.Int32%
pnRevision
Type: System.Int32%
Return Value
Type: System.Int32
Permissions
- 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.