10 references to TryGetProperty
System.Private.Windows.Core (2)
Windows\Win32\System\Com\IDispatch.cs (2)
18uint lcid = 0) => TryGetProperty((int)dispId, pVar, lcid); 88TryGetProperty(dispId, &variant, lcid).ThrowOnFailure();
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
598hr = dispatch.Value->TryGetProperty(dispid, &property, PInvoke.LCID.USER_DEFAULT.RawValue);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
620hr = dispatch.Value->TryGetProperty(DISPID, &nativeValue, PInvokeCore.GetThreadLocale());
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
148HRESULT hr = dispatch->TryGetProperty(dispid, &result, PInvokeCore.GetThreadLocale());
System.Windows.Forms.Primitives (5)
System\Drawing\ImageExtensions.cs (5)
65dispatch->TryGetProperty((int)PInvokeCore.DISPID_PICT_TYPE, &variant).ThrowOnFailure(); 69dispatch->TryGetProperty((int)PInvokeCore.DISPID_PICT_HPAL, &variant).ThrowOnFailure(); 73dispatch->TryGetProperty((int)PInvokeCore.DISPID_PICT_HANDLE, &variant).ThrowOnFailure(); 76dispatch->TryGetProperty((int)PInvokeCore.DISPID_PICT_WIDTH, &variant).ThrowOnFailure(); 79dispatch->TryGetProperty((int)PInvokeCore.DISPID_PICT_HEIGHT, &variant).ThrowOnFailure();