cncdrive wrote:Hi Rob,
It does not have a separate documentation.
The documentation is the C# wrapper file which has basic description of the functions, it is Intellisense documented.
' '''
' ''' Cannot convert MethodDeclarationSyntax, System.NotSupportedException: UnsafeKeyword is not supported!
' ''' at ICSharpCode.CodeConverter.VB.SyntaxKindExtensions.ConvertToken(SyntaxKind t, TokenContext context) in D:\GitWorkspace\CodeConverter\ICSharpCode.CodeConverter\VB\SyntaxKindExtensions.cs:line 186
' ''' at ICSharpCode.CodeConverter.VB.CommonConversions.ConvertModifier(SyntaxToken m, TokenContext context) in D:\GitWorkspace\CodeConverter\ICSharpCode.CodeConverter\VB\CommonConversions.cs:line 391
' ''' at ICSharpCode.CodeConverter.VB.CommonConversions.ConvertModifiersCore(IReadOnlyCollection`1 modifiers, TokenContext context, Boolean isConstructor)+MoveNext() in D:\GitWorkspace\CodeConverter\ICSharpCode.CodeConverter\VB\CommonConversions.cs:line 349
' ''' at Microsoft.CodeAnalysis.SyntaxTokenList.CreateNode(IEnumerable`1 tokens)
' ''' at ICSharpCode.CodeConverter.VB.NodesVisitor.VisitMethodDeclaration(MethodDeclarationSyntax node) in D:\GitWorkspace\CodeConverter\ICSharpCode.CodeConverter\VB\NodesVisitor.cs:line 407
' ''' at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1.Visit(SyntaxNode node)
' ''' at ICSharpCode.CodeConverter.VB.CommentConvertingNodesVisitor.DefaultVisit(SyntaxNode node) in D:\GitWorkspace\CodeConverter\ICSharpCode.CodeConverter\VB\CommentConvertingNodesVisitor.cs:line 35
' ''' ' ''' Input:
' '''
' /// <summary>
' /// Returns the device properties defined by the boardID parameter. If the BoardID is lower or equals 0 then it is demo mode.
' /// </summary>
' /// <param name="BoardID">The ID of the board (Listdevices list number).</param>
' /// <param name="Type">Device type (DeviceType enum)</param>
' /// <param name="SerialNumber">Returns the serial number of the controller as an integer value. (Convert to hexadecimal to get the serial number in the correct format.)</param>
' /// <returns>ReturnVal, UC error code.</returns>
' [DllImport("UC100.dll", CallingConvention = CallingConvention.Cdecl)]
' unsafe public static extern int DeviceInfo(int BoardID, ref int Type, ref int SerialNumber);
Return to Ask a question from support here
Users browsing this forum: No registered users and 31 guests