Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
Sub SetDocument ( _
fileName As String, _
bytes As Byte(), _
access As FileAccess _
)
void SetDocument(
string fileName,
byte[] bytes,
FileAccess access
)
Parameters
- fileName
Type: System.String
- bytes
Type: array<System.Byte[]
- access
Type: System.IO.FileAccess
.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.