protected override void DisposeUnmanagedResources() { if (this._volStructObj != null) { Marshal.FinalReleaseComObject(this._volStructObj); this._volStructObj = null; } }
public List <string> GetUniqueKey() { List <string> uniqueKey = new List <string>(); IVolumeStruct7 volStruct = this._viObj.Structure; if (volStruct != null) { using (VolumeStruct volumeStruct = new VolumeStruct(volStruct)) { uniqueKey.AddRange(volumeStruct.GetUniqueKey()); } } return(uniqueKey); }
internal VolumeStruct(IVolumeStruct7 volumeStruct) { this._volStructObj = volumeStruct ?? throw new ArgumentNullException(); }
internal VolumeStruct() { this._volStructObj = new VolumeStruct7(); }