IWebClassLibProjectEvents.OnFileAdded Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
‘선언
Function OnFileAdded ( _
pszFilePath As String, _
foldersMustBeInProject As Boolean _
) As Integer
‘사용 방법
Dim instance As IWebClassLibProjectEvents
Dim pszFilePath As String
Dim foldersMustBeInProject As Boolean
Dim returnValue As Integer
returnValue = instance.OnFileAdded(pszFilePath, _
foldersMustBeInProject)
int OnFileAdded(
string pszFilePath,
bool foldersMustBeInProject
)
int OnFileAdded(
[InAttribute] String^ pszFilePath,
[InAttribute] bool foldersMustBeInProject
)
abstract OnFileAdded :
pszFilePath:string *
foldersMustBeInProject:bool -> int
function OnFileAdded(
pszFilePath : String,
foldersMustBeInProject : boolean
) : int
Parameters
- pszFilePath
Type: System.String
- foldersMustBeInProject
Type: System.Boolean
Return Value
Type: System.Int32
.NET Framework Security
- 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
IWebClassLibProjectEvents Interface