Delen via


CatalogRuleValidationUtility.WillBeDeleted Method (TeamFoundationRequestContext, CatalogResource, List<String>%)

Returns true if this resource will be deleted by looking at all of its referencing nodes.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function WillBeDeleted ( _
    requestContext As TeamFoundationRequestContext, _
    resource As CatalogResource, _
    <OutAttribute> ByRef finalPaths As List(Of String) _
) As Boolean
public bool WillBeDeleted(
    TeamFoundationRequestContext requestContext,
    CatalogResource resource,
    out List<string> finalPaths
)
public:
bool WillBeDeleted(
    TeamFoundationRequestContext^ requestContext, 
    CatalogResource^ resource, 
    [OutAttribute] List<String^>^% finalPaths
)
member WillBeDeleted : 
        requestContext:TeamFoundationRequestContext * 
        resource:CatalogResource * 
        finalPaths:List<string> byref -> bool
public function WillBeDeleted(
    requestContext : TeamFoundationRequestContext, 
    resource : CatalogResource, 
    finalPaths : List<String>
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

CatalogRuleValidationUtility Class

WillBeDeleted Overload

Microsoft.TeamFoundation.Server.Core Namespace