Example #1
0
        private void Dispose(bool disposing)
        {
            if (m_IPropertyDescription != null)
            {
                if (!disposing)
                {
                    Debug.Fail("Failed to dispose PropertyDescription");
                }

                Marshal.FinalReleaseComObject(m_IPropertyDescription);
                m_IPropertyDescription = null;
            }
            if (disposing)
            {
                GC.SuppressFinalize(this);
            }
        }
Example #2
0
 internal PropertyDescription(NativeMethods.IPropertyDescription iPropertyDescription)
 {
     m_IPropertyDescription = iPropertyDescription;
 }
Example #3
0
        private void Dispose(bool disposing)
        {
            if (m_IPropertyDescription != null)
            {
                if (!disposing)
                {
                    Debug.Fail("Failed to dispose PropertyDescription");
                }

                Marshal.FinalReleaseComObject(m_IPropertyDescription);
                m_IPropertyDescription = null;
            }
            if (disposing)
            {
                GC.SuppressFinalize(this);
            }
        }
Example #4
0
 internal PropertyDescription(NativeMethods.IPropertyDescription iPropertyDescription)
 {
     m_IPropertyDescription = iPropertyDescription;
 }
 public PropertyDescription(NativeMethods.IPropertyDescription iPropertyDescription)
 {
     m_IPropertyDescription = iPropertyDescription;
 }