次の方法で共有


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

See Also

Reference

ITextBuffer Interface

Microsoft.VisualStudio.Text Namespace