Gets the error for the fault for the specified entity.
.NET Syntax
Visual Basic (Declaration) | |
---|
ReadOnly Property ErrorCode( _
ByVal Index As Integer _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As IFaultEntity
Dim Index As Integer
Dim value As Integer
value = instance.ErrorCode(Index)
|
C# | |
---|
int ErrorCode(
int Index
) {get;} |
C++/CLI | |
---|
property int ErrorCode {
int get(int Index);
} |
Parameters
- Index
- 0-based index number indicating the entity with the fault
Return Value
Error as defined by
swFaultEntityErrorCode_e; -1 indicates an unknown error
Example
Remarks
See Also
Availability
SolidWorks 2004 SP4, Revision Number 12.4