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