Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
RGB (Structures)
.
C# Definition:
struct RGB {
public TODO;
}
VB Definition:
<StructLayout(LayoutKind.Sequential)> _
Private Structure RGB
Dim byRed, byGreen, byBlue, RESERVED As Byte
Public Sub New(ByVal colorIn As Color)
byRed = colorIn.R
byGreen = colorIn.G
byBlue = colorIn.B
RESERVED = 0
End Sub
Public Function ToInt32() As Int32
Dim RGBCOLORS(3) As Byte
RGBCOLORS(0) = byRed
RGBCOLORS(1) = byGreen
RGBCOLORS(2) = byBlue
RGBCOLORS(3) = RESERVED
Return BitConverter.ToInt32(RGBCOLORS, 0)
End Function
End Structure
User-Defined Field Types:
None.
Notes:
None.
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.