Udostępnij za pośrednictwem


Metoda ISharePointProjectItemVirtualFileCollection.Add —

Dodaje nowy plik wirtualny.

Przestrzeń nazw:  Microsoft.VisualStudio.SharePoint
Zestaw:  Microsoft.VisualStudio.SharePoint (w Microsoft.VisualStudio.SharePoint.dll)

Składnia

'Deklaracja
Function Add ( _
    source As String, _
    deploymentType As DeploymentType _
) As ISharePointProjectItemVirtualFile
ISharePointProjectItemVirtualFile Add(
    string source,
    DeploymentType deploymentType
)

Parametry

  • source
    Typ: String

    Lokalizację źródłową pliku wirtualnego.

Wartość zwracana

Typ: Microsoft.VisualStudio.SharePoint.ISharePointProjectItemVirtualFile
Wystąpienie ISharePointProjectItemVirtualFile utworzone za pomocą dostarczonego argumentów.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ISharePointProjectItemVirtualFileCollection Interfejs

Przestrzeń nazw Microsoft.VisualStudio.SharePoint