public ILibraryOccurrence ReplaceOccurrence<T>( IReplaceable<T> occurrence, T libraryPart ) where T: BaseLibraryPart
Parameters
- occurrence
- Occurrence that you want to replace.
- libraryPart
- New library part for which the occurrence will be replaced.
Type Parameters
- T
- Allowed library parts to replace.
Return Value
Created occurrence.