VsMSBuildTaskFileManagerClass.Exists Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'宣言
Public Overridable Function Exists ( _
wszFilename As String, _
fOnlyCheckOnDisk As Integer, _
<OutAttribute> ByRef pfExists As Integer _
) As Integer
'使用
Dim instance As VsMSBuildTaskFileManagerClass
Dim wszFilename As String
Dim fOnlyCheckOnDisk As Integer
Dim pfExists As Integer
Dim returnValue As Integer
returnValue = instance.Exists(wszFilename, _
fOnlyCheckOnDisk, pfExists)
public virtual int Exists(
string wszFilename,
int fOnlyCheckOnDisk,
out int pfExists
)
public:
virtual int Exists(
[InAttribute] String^ wszFilename,
[InAttribute] int fOnlyCheckOnDisk,
[OutAttribute] int% pfExists
)
public function Exists(
wszFilename : String,
fOnlyCheckOnDisk : int,
pfExists : int
) : int
Parameters
- wszFilename
Type: System.String
- fOnlyCheckOnDisk
Type: System.Int32
- pfExists
Type: System.Int32%
Return Value
Type: System.Int32
Implements
IVsMSBuildTaskFileManager.Exists(String, Int32, Int32%)
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.
See Also
Reference
VsMSBuildTaskFileManagerClass Class