Share via


LocalItemExclusionEvaluator.IsExcluded Method (String, Boolean)

Check the provided local item against the LocalItemExclusionEvaluator to see whether it should be excluded from addition to version control.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function IsExcluded ( _
    localItem As String, _
    isFolder As Boolean _
) As Boolean
public bool IsExcluded(
    string localItem,
    bool isFolder
)
public:
bool IsExcluded(
    String^ localItem, 
    bool isFolder
)
member IsExcluded : 
        localItem:string * 
        isFolder:bool -> bool
public function IsExcluded(
    localItem : String, 
    isFolder : boolean
) : boolean

Parameters

  • isFolder
    Type: System.Boolean

    True if the local item to check is a folder; false otherwise

Return Value

Type: System.Boolean
True if the item is excluded; false otherwise

.NET Framework Security

See Also

Reference

LocalItemExclusionEvaluator Class

IsExcluded Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace