Skip to main content
View as Markdown

ISch_HarnessCavityPartsOwner interface

No description yet.

public interface ISch_HarnessCavityPartsOwner

Namespace: SCH · Assembly: Altium.SDK.Interfaces

Properties​

PropertyTypeAccessDescription
FirstISch_HarnessComponentget; set
ItemISch_HarnessComponentget; set

First​

No description yet.

ISch_HarnessComponent GetFirst(THarnessCavityPartType argItemType);
bool SetFirst(THarnessCavityPartType argItemType, ISch_HarnessComponent argItem);

Type: ISch_HarnessComponent · Access: read/write · Index: argItemType (THarnessCavityPartType)

The accessors are extension methods of ISch_HarnessCavityPartsOwnerHelper (using SCH;).

Item​

No description yet.

ISch_HarnessComponent GetItem(THarnessCavityPartType argItemType, int argIndex);
bool SetItem(THarnessCavityPartType argItemType, int argIndex, ISch_HarnessComponent argItem);

Type: ISch_HarnessComponent · Access: read/write · Index: argItemType (THarnessCavityPartType), argIndex (int)

The accessors are extension methods of ISch_HarnessCavityPartsOwnerHelper (using SCH;).

Methods​

MethodReturnsDescription
AddItembool
GetCountint
Removevoid
RemoveAllvoid
RemoveAllOfTypevoid

AddItem​

No description yet.

bool AddItem(THarnessCavityPartType argItemType, ISch_HarnessComponent argItem);
bool AddItem(int argItemType, object argItem);
ParameterTypePassing
argItemTypeTHarnessCavityPartTypevalue
argItemISch_HarnessComponentvalue

Returns: bool

The first overload is an extension method of ISch_HarnessCavityPartsOwnerHelper (using SCH;) with typed parameters; the second is declared by the interface.

GetCount​

No description yet.

int GetCount(THarnessCavityPartType argItemType);
int GetCount(int argItemType);
ParameterTypePassing
argItemTypeTHarnessCavityPartTypevalue

Returns: int

The first overload is an extension method of ISch_HarnessCavityPartsOwnerHelper (using SCH;) with typed parameters; the second is declared by the interface.

Remove​

No description yet.

void Remove(THarnessCavityPartType argItemType, int argIndex);
void Remove(int argItemType, int argIndex);
ParameterTypePassing
argItemTypeTHarnessCavityPartTypevalue
argIndexintvalue

Returns: nothing (void)

The first overload is an extension method of ISch_HarnessCavityPartsOwnerHelper (using SCH;) with typed parameters; the second is declared by the interface.

RemoveAll​

No description yet.

void RemoveAll();

Returns: nothing (void)

RemoveAllOfType​

No description yet.

void RemoveAllOfType(THarnessCavityPartType argItemType);
void RemoveAllOfType(int argItemType);
ParameterTypePassing
argItemTypeTHarnessCavityPartTypevalue

Returns: nothing (void)

The first overload is an extension method of ISch_HarnessCavityPartsOwnerHelper (using SCH;) with typed parameters; the second is declared by the interface.