共用方式為


IVsCodeWindowEx.IsReadOnly Method

Determines whether the code window is read-only.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function IsReadOnly As Integer
int IsReadOnly()
int IsReadOnly()
abstract IsReadOnly : unit -> int 
function IsReadOnly() : int

Return Value

Type: System.Int32
Returns S_OK if the code window is read-only; otherwise, returns S_FALSE indicating the code window is not read-only.

.NET Framework Security

See Also

Reference

IVsCodeWindowEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace