Evaluates the result of an add operation.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Function EvaluateAddResult ( _
result As VSADDRESULT, _
path As String _
) As ProjectItem
'使用
Dim result As VSADDRESULT
Dim path As String
Dim returnValue As ProjectItem
returnValue = Me.EvaluateAddResult(result, _
path)
protected virtual ProjectItem EvaluateAddResult(
VSADDRESULT result,
string path
)
protected:
virtual ProjectItem^ EvaluateAddResult(
VSADDRESULT result,
String^ path
)
protected function EvaluateAddResult(
result : VSADDRESULT,
path : String
) : ProjectItem
Parameters
result
Type: Microsoft.VisualStudio.Shell.Interop.VSADDRESULTThe VSADDRESULT returned by the add operation.
path
Type: System.StringThe absolute path of the item that was added.
Return Value
Type: ProjectItem
The added ProjectItem.
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.