Class CustomAttributesLibraryListHelper
Inheritance
CustomAttributesLibraryListHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class CustomAttributesLibraryListHelper
Methods
AddLibrary(ComWrapper<ICamApiCustomAttributesLibraryList>, ICamApiCustomAttributesLibrary)
Declaration
public static int AddLibrary(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, ICamApiCustomAttributesLibrary lib)
Parameters
Returns
Count(ComWrapper<ICamApiCustomAttributesLibraryList>)
Count of libraries in the list.
Declaration
public static int Count(this ComWrapper<ICamApiCustomAttributesLibraryList> libs)
Parameters
Returns
IndexOfLibFileName(ComWrapper<ICamApiCustomAttributesLibraryList>, string)
Find index of library in the list by its full file path.
Declaration
public static int IndexOfLibFileName(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, string libFileName)
Parameters
Returns
IndexOfLibID(ComWrapper<ICamApiCustomAttributesLibraryList>, Guid)
Find index of library in the list by its ID.
Declaration
public static int IndexOfLibID(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, Guid libID)
Parameters
Returns
Lib(ComWrapper<ICamApiCustomAttributesLibraryList>, int)
Declaration
public static ComWrapper<ICamApiCustomAttributesLibrary> Lib(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, int index)
Parameters
Returns
LibFileName(ComWrapper<ICamApiCustomAttributesLibraryList>, int)
Full path to the file of the library with given index.
Declaration
public static string LibFileName(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, int index)
Parameters
Returns
LibraryEnabled(ComWrapper<ICamApiCustomAttributesLibraryList>, int)
Enability of the library with given index.
Declaration
public static bool LibraryEnabled(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, int index)
Parameters
Returns
LibraryID(ComWrapper<ICamApiCustomAttributesLibraryList>, int)
ID of the library with given index.
Declaration
public static Guid LibraryID(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, int index)
Parameters
Returns
MoveLibrary(ComWrapper<ICamApiCustomAttributesLibraryList>, int, int)
Move library from SrcIndex to TargetIndex in the list.
Declaration
public static bool MoveLibrary(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, int srcIndex, int targetIndex)
Parameters
Returns
RemoveLibrary(ComWrapper<ICamApiCustomAttributesLibraryList>, int)
Remove library from the list.
Declaration
public static bool RemoveLibrary(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, int index)
Parameters
Returns
SetLibraryEnabled(ComWrapper<ICamApiCustomAttributesLibraryList>, int, bool)
Enability of the library with given index.
Declaration
public static void SetLibraryEnabled(this ComWrapper<ICamApiCustomAttributesLibraryList> libs, int index, bool value)
Parameters