Click or drag to resize

MethodReturnT, IConvertible Class

MethodReturn serves as wrapper for method returns.
Inheritance Hierarchy
SystemObject
  BindableBase
    CADSharpTools.CoreMethodReturnT, IConvertible

Namespace:  CADSharpTools.Core
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public class MethodReturn<T, IConvertible> : BindableBase

Type Parameters

T
Specified return type of the method.
IConvertible
Enum object.

The MethodReturnT, IConvertible type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyEnumValue
Enum value.
Public propertyError
Error message.
Public propertyException
Public propertyIsError
Property indicating whether the method has successfully finished or not.
Public propertyValue
Return object.
Public propertyWarning
Warning message.
Top
Remarks
Use this class to capture exceptions throwing by SOLIDWORKS API or SOLIDWORKS PDM API objects. The class has a second generic property that can be used as an Enum.
See Also