IVsPerPropertyBrowsing.HideProperty(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Hides the property at the given dispid
from the Properties window.
public:
int HideProperty(int dispid, [Runtime::InteropServices::Out] int % pfHide);
int HideProperty(int dispid, [Runtime::InteropServices::Out] int & pfHide);
public int HideProperty (int dispid, out int pfHide);
abstract member HideProperty : int * int -> int
Public Function HideProperty (dispid As Integer, ByRef pfHide As Integer) As Integer
Parameters
- dispid
- Int32
Specifies the dispatch ID.
- pfHide
- Int32
[out] Pointer to a flag indicating hide.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsPerPropertyBrowsing::HideProperty(
DISPID dispid,
[out,retval]BOOL* pfHide
);
The HideProperty
method hides the property at the given dispid
from the Properties window. Implementers should return E_NOTIMPL to show all properties that are otherwise browsable.