ITextBuffer.CheckEditAccess Method
Determines whether edit operations on this text buffer are permitted on the calling thread.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣言
Function CheckEditAccess As Boolean
bool CheckEditAccess()
bool CheckEditAccess()
abstract CheckEditAccess : unit -> bool
function CheckEditAccess() : boolean
Return Value
Type: System.Boolean
true if the calling thread is allowed to perform edit operations, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.