Share via


IAppInfoDocumentContract.SetDocument Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Contract
Assembly:  Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll)

Syntax

'Declaration
Sub SetDocument ( _
    fileName As String, _
    bytes As Byte(), _
    access As FileAccess _
)
'Usage
Dim instance As IAppInfoDocumentContract 
Dim fileName As String 
Dim bytes As Byte()
Dim access As FileAccess

instance.SetDocument(fileName, bytes, _
    access)
void SetDocument(
    string fileName,
    byte[] bytes,
    FileAccess access
)
void SetDocument(
    String^ fileName, 
    array<unsigned char>^ bytes, 
    FileAccess access
)
function SetDocument(
    fileName : String, 
    bytes : byte[], 
    access : FileAccess
)

Parameters

See Also

Reference

IAppInfoDocumentContract Interface

IAppInfoDocumentContract Members

Microsoft.VisualStudio.Tools.Applications.Contract Namespace