SymbolTableExtensionPurge Method |
Purges the unreferenced symbol table records.
Namespace:
Gile.AutoCAD.R20.Extension
Assembly:
Gile.AutoCAD.R20.Extension (in Gile.AutoCAD.R20.Extension.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static int Purge(
this SymbolTable symbolTable,
Transaction tr
)
<ExtensionAttribute>
Public Shared Function Purge (
symbolTable As SymbolTable,
tr As Transaction
) As Integer
public:
[ExtensionAttribute]
static int Purge(
SymbolTable^ symbolTable,
Transaction^ tr
)
[<ExtensionAttribute>]
static member Purge :
symbolTable : SymbolTable *
tr : Transaction -> int
Parameters
- symbolTable
- Type: SymbolTable
Instance to which the method applies. - tr
- Type: Transaction
Transaction or OpenCloseTransaction to use.
Return Value
Type:
Int32The number of pruged records.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SymbolTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown if symbolTable is null. |
ArgumentNullException | Thrown if tr is null. |
See Also