Udostępnij za pośrednictwem


IVsHiddenRegion.IsValid Method

Definition

Determines whether the hidden region is valid.

public:
 int IsValid();
public:
 int IsValid();
int IsValid();
public int IsValid ();
abstract member IsValid : unit -> int
Public Function IsValid () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsHiddenRegion::IsValid(  
);  

If this method returns S_OK, then the hidden region is valid. If this method returns F:Microsoft.visualstudio.VSConstants.S_FALSE, then the hidden region is not valid. This method is used to manage deleting hidden regions.

Applies to