PdcClockLine.TimeKind: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == TimeKind as long == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability ==" |
No edit summary |
||
Line 9: | Line 9: | ||
== Code example == | == Code example == | ||
This code example returns the timekind of clockline with ID "456". | |||
<source lang="vb"> | <source lang="vb"> | ||
Sub sGetClockLineTimeKind | |||
dim objClockLine | |||
dim intID | |||
intID = "456" | |||
set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID) | |||
if IsValid(objClockLine) then | |||
msgbox objClockLine.TimeKind | |||
end if | |||
set objClockLine = nothing | |||
End Sub | |||
</source> | </source> | ||
== Availability == | == Availability == |
Revision as of 12:33, 31 July 2013
Declaration
TimeKind as long
Description
Notes
Code example
This code example returns the timekind of clockline with ID "456".
Sub sGetClockLineTimeKind
dim objClockLine
dim intID
intID = "456"
set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)
if IsValid(objClockLine) then
msgbox objClockLine.TimeKind
end if
set objClockLine = nothing
End Sub