Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- localItem 
 Type: System.String- The local item to check 
- 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
- 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.