_dispDocumentEvents.DocumentOpening Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub DocumentOpening ( _
DocumentPath As String, _
ReadOnly As Boolean _
)
void DocumentOpening(
string DocumentPath,
bool ReadOnly
)
void DocumentOpening(
[InAttribute] String^ DocumentPath,
[InAttribute] bool ReadOnly
)
abstract DocumentOpening :
DocumentPath:string *
ReadOnly:bool -> unit
function DocumentOpening(
DocumentPath : String,
ReadOnly : boolean
)
Parameters
DocumentPath
Type: System.StringThe document path.
ReadOnly
Type: System.BooleanWhether or not the document is read-only.
.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.