Compartir a través de


IProjectStorage.OpenItem Method (String, Boolean)

 

Returns a Stream for the item named itemName.

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

Syntax

Stream OpenItem(
    string itemName,
    bool writeAccess
)
Stream^ OpenItem(
    String^ itemName,
    bool writeAccess
)
abstract OpenItem : 
        itemName:string *
        writeAccess:bool -> Stream
Function OpenItem (
    itemName As String,
    writeAccess As Boolean
) As Stream

Parameters

  • writeAccess
    Type: System.Boolean

    true to create a new item; false to open an existing item.

Return Value

Type: System.IO.Stream

The Stream for the item.

See Also

IProjectStorage Interface
Microsoft.VisualStudio.Tools.Applications Namespace

Return to top