IVSSEvents.BeforeBranch Method 

An event that is fired before a file is branched in the SourceSafe database.

Namespace: Microsoft.VisualStudio.SourceSafe.Interop
Assembly: Microsoft.VisualStudio.SourceSafe.Interop (in microsoft.visualstudio.sourcesafe.interop.dll)

Syntax

'Declaration
Function BeforeBranch ( _
    <InAttribute> pIItem As VSSItem, _
    <InAttribute> Comment As String _
) As Boolean
'Usage
Dim instance As IVSSEvents
Dim pIItem As VSSItem
Dim Comment As String
Dim returnValue As Boolean

returnValue = instance.BeforeBranch(pIItem, Comment)
bool BeforeBranch (
    [InAttribute] VSSItem pIItem,
    [InAttribute] string Comment
)
bool BeforeBranch (
    [InAttribute] VSSItem^ pIItem, 
    [InAttribute] String^ Comment
)
boolean BeforeBranch (
    /** @attribute InAttribute() */ VSSItem pIItem, 
    /** @attribute InAttribute() */ String Comment
)
function BeforeBranch (
    pIItem : VSSItem, 
    Comment : String
) : boolean

Parameters

  • pIItem
    A reference of the IVSSItem type to an object representing a branched file.
  • Comment
    Optional. A string containing a comment. The default is an empty string.

Remarks

[IDL]

HRESULT BeforeBranch ([in]IVSSItem *piItem, [out,retval]boolean *pbContinue);

See Also

Reference

IVSSEvents Interface
IVSSEvents Members
Microsoft.VisualStudio.SourceSafe.Interop Namespace