MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / Dispose

Method Dispose

src/Squirrel/ShellFile.cs:526–538  ·  view source on GitHub ↗

Dispose the object, releasing the COM ShellLink object

()

Source from the content-addressed store, hash-verified

524 /// Dispose the object, releasing the COM ShellLink object
525 /// </summary>
526 public void Dispose()
527 {
528 if (linkW != null)
529 {
530 Marshal.ReleaseComObject(linkW);
531 linkW = null;
532 }
533 if (linkA != null)
534 {
535 Marshal.ReleaseComObject(linkA);
536 linkA = null;
537 }
538 }
539
540 public string ShortCutFile
541 {

Callers 2

unshimOurselvesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected