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