SourceControl2.IsItemUnderSCC Method
Retrieves a Boolean value that indicates whether the specified item is under source control.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.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
true if the item is under source control; otherwise, false.
Implements
SourceControl.IsItemUnderSCC(String)
.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.