IVsPerPropertyBrowsing::IsPropertyReadOnly Method (Int32, Int32)
Visual Studio 2015
Determines if a property should be made read only.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dispid
-
Type:
System::Int32
[in] Specifies dispatch ID.
- fReadOnly
-
Type:
System::Int32
[out] Flag indicating read only.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsPerPropertyBrowsing::IsPropertyReadOnly( DISPID dispid, [out, retval]BOOL* fReadOnly );
Determines if a property should be made read only. This only applies to properties that are writeable, but returning true for *fReadOnly will cause them to be displayed by the Properties window as read only.
Show: