The IPin2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
NameByParent |
Returns the pins name as seen by the given parent node. This makes sense for pins of modules which have two parents: the IOBox and the Module.
| |
ParentNodeByPatch |
Returns the Pins parent node that lies in the give patch. This makes sense for pins of modules which have two parents: the IOBox and the Module.
|
Extension Methods
Name | Description | |
---|---|---|
IsConnected | (Defined by Pin2ExtensionMethods.) |
Properties
Name | Description | |
---|---|---|
CLRType |
Returns the pins clr type and null in case of native pins.
| |
ConnectedPins |
Returns a list of connected pins. For Inputs this is a maximum of one.
| |
Direction |
Returns the pins direction.
| |
InternalCOMInterf |
Reference to the internal COM interface. Use with caution.
| |
Item |
Gets/Sets a string representation of the specified slice.
| |
Name | (Inherited from INamed.) | |
ParentNode |
Returns the pins parent node.
| |
SliceCount |
Returns the pins slicecount.
| |
Spread |
Gets/Sets the whole spread as a string with commaseparated slices.
| |
Status |
Returns the status of the pin.
| |
SubType |
Returns the pins subtype.
values: guiType, dimension, default, min, max, stepSize, unitName, precision
strings: guiType, default, fileMask, maxChars
colors: guiType, default, hasAlpha
enums: guiType, enumName, default
| |
Type |
Returns the pins datatype as a string.
|
Events
Name | Description | |
---|---|---|
Changed |
The changed event occurs when the pins data changed.
| |
Connected |
The connected event occurs when the pin gets connected.
| |
Disconnected |
The disconnected event occurs when the pin gets disconnected.
| |
Renamed | (Inherited from INamed.) | |
SubtypeChanged |
The SubtypeChanged event occurs when the pins subtype changed.
|