1 write to DISPID
System.Windows.Forms (1)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
99DISPID = dispid;
29 references to DISPID
System.Windows.Forms (29)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ICategorizePropertiesHandler.cs (1)
70if (GetCategoryFromObject(sender.TargetObject, sender.DISPID) is string category && category.Length > 0)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
39Attribute[] attributes = GetComponentAttributes(propertyBrowsing.Value, sender.DISPID);
System\Windows\Forms\ComponentModel\COM2Interop\Com2IPerPropertyBrowsingHandler.Com2IPerPropertyBrowsingEnum.cs (2)
106hr = ppb.Value->GetPredefinedValue(Target.DISPID, cookie, &variant); 170if (hr.Succeeded && TryGetDisplayString(propertyBrowsing, Target.DISPID, out string? displayString))
System\Windows\Forms\ComponentModel\COM2Interop\Com2IPerPropertyBrowsingHandler.Com2IPerPropertyEnumConverter.cs (1)
34&& TryGetDisplayString(propertyBrowsing, _itemsEnum.Target.DISPID, out string? displayString))
System\Windows\Forms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (5)
66bool validPropPage = !Guid.Empty.Equals(GetPropertyPageGuid(propertyBrowsing, sender.DISPID)); 90if (TryGetDisplayString(propertyBrowsing, sender.DISPID, out string? displayString)) 108hr = propertyBrowsing.Value->GetPredefinedStrings(sender.DISPID, &caStrings, &caCookies); 112Debug.Fail($"IPerPropertyBrowsing::GetPredefinedStrings(dispid={sender.DISPID}) failed."); 145Guid guid = GetPropertyPageGuid(propertyBrowsing, sender.DISPID);
System\Windows\Forms\ComponentModel\COM2Interop\COM2IProvidePropertyBuilderHandler.cs (2)
62bool builderValid = GetBuilderGuidString(propertyBuilder, sender.DISPID, ref builderGuid, &builderType); 81if (GetBuilderGuidString(propertyBuilder, sender.DISPID, ref builderGuid, &builderType))
System\Windows\Forms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (10)
22hr = browsing.Value->DisplayChildProperties(property.DISPID, &hide); 64hr = propertyBrowsing.Value->GetLocalizedPropertyInfo(sender.DISPID, PInvokeCore.GetThreadLocale(), null, &helpString); 89hr = propertyBrowsing.Value->HideProperty(sender.DISPID, &hide); 100hr = propertyBrowsing.Value->DisplayChildProperties(sender.DISPID, &display); 118hr = propertyBrowsing.Value->CanResetPropertyValue(sender.DISPID, &canReset); 136hr = propertyBrowsing.Value->GetLocalizedPropertyInfo(sender.DISPID, PInvokeCore.GetThreadLocale(), &name, null); 154hr = propertyBrowsing.Value->IsPropertyReadOnly(sender.DISPID, &readOnly); 175hr = propertyBrowsing.Value->DisplayChildProperties(sender.DISPID, &result); 191int dispid = sender.DISPID; 211hr = propertyBrowsing.Value->HasDefaultValue(sender.DISPID, &isDefault);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PictureConverter.cs (1)
25if (property.DISPID == PInvokeCore.DISPID_MOUSEICON || property.Name.Contains("Icon"))
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
59_propDesc.DISPID,
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (4)
215hr = ComNativeDescriptor.GetPropertyValue(dispatch, DISPID, out _); 468DISPID, 620hr = dispatch.Value->TryGetProperty(DISPID, &nativeValue, PInvokeCore.GetThreadLocale()); 855hr = dispatch.Value->SetPropertyValue(DISPID, nativeValue, out string? errorText);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
49propertyPageService.ShowPropertyPage(_propertyDescriptor.Name, instance, _propertyDescriptor.DISPID, _guid, parentHandle);