SourceControl.IsItemUnderSCC Method
Retrieves a Boolean value that indicates whether the specified item is under source control.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Function IsItemUnderSCC ( _
ItemName As String _
) As Boolean
bool IsItemUnderSCC(
string ItemName
)
bool IsItemUnderSCC(
[InAttribute] String^ ItemName
)
abstract IsItemUnderSCC :
ItemName:string -> bool
function IsItemUnderSCC(
ItemName : String
) : boolean
Parameters
- ItemName
Type: System.String
The name of the file.
Return Value
Type: System.Boolean
A Boolean value indicating true if the item is under source control; otherwise false.
.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.