Freigeben über


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: String

    The name of the file.

Return Value

Type: Boolean
true if the item is under source control; otherwise, false.

.NET Framework Security

See Also

Reference

SourceControl2 Interface

EnvDTE80 Namespace