Delen via


SfcCollatedDictionaryCollection<T, K, ParentT>.AddShadow Method

Adds the specified object to the shadow collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Protected Overrides Function AddShadow ( _
    obj As T _
) As Boolean
'Usage
Dim obj As T
Dim returnValue As Boolean

returnValue = Me.AddShadow(obj)
protected override bool AddShadow(
    T obj
)
protected:
virtual bool AddShadow(
    T obj
) override
abstract AddShadow : 
        obj:'T -> bool 
override AddShadow : 
        obj:'T -> bool 
protected override function AddShadow(
    obj : T
) : boolean

Parameters

  • obj
    Type: T
    The object to add to the shadow collection.

Return Value

Type: System.Boolean
true if the object was successfully added; otherwise, false.

Remarks

This method is used only during merging (see the PrepareMerge and FinishMerge methods for more information).