using System; using System.Runtime.InteropServices; namespace VisualStudioMock { /// /// Provides named properties. /// /// /// You can get this from an , , or derivative. /// [ComImport] [Guid("c601c175-a3be-44bc-91f6-4568d230fc83")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface ISetupPropertyStore { /// /// Gets an array of property names in this property store. /// /// An array of property names in this property store. [return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR)] string[] GetNames(); /// /// Gets the value of a named property in this property store. /// /// The name of the property to get. /// The value of the property. object GetValue([In] [MarshalAs(UnmanagedType.LPWStr)] string pwszName); } }