OAProjectItem<T>.get_FileNames Method

Gets the full path and names of the files associated with an item.

Namespace:  Microsoft.VisualStudio.Package.Automation
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function get_FileNames ( _
    index As Short _
) As String
'使用
Dim instance As OAProjectItem
Dim index As Short
Dim returnValue As String

returnValue = instance.get_FileNames(index)
public virtual string get_FileNames(
    short index
)
public:
virtual String^ get_FileNames(
    short index
)
public function get_FileNames(
    index : short
) : String

Parameters

  • index
    Type: System.Int16

    The index of the file name requested.

Return Value

Type: System.String

The full path of the associated item.

Remarks

In the base implementation, this method should be called only with 1 as the parameter. Calling it with 0 will result in an OutOfRangeException.

Permissions

See Also

Reference

OAProjectItem<T> Class

OAProjectItem<T> Members

Microsoft.VisualStudio.Package.Automation Namespace