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.Int16The 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
- 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.