Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / Merge Method / Merge(Object) Method
Object whose style settings are merged with the current object


In This Topic
    Merge(Object) Method
    In This Topic
    Merges the style settings with the current object.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Merge( _
       ByVal obj As Object _
    ) As Boolean
    'Usage
     
    
    Dim instance As StyleInfo
    Dim obj As Object
    Dim value As Boolean
     
    value = instance.Merge(obj)
    public virtual bool Merge( 
       object obj
    )

    Parameters

    obj
    Object whose style settings are merged with the current object

    Return Value

    Boolean: true if merge is successful; false otherwise
    Remarks

    The Merge(Object) method does not overwrite existing settings in the current object. The only settings from the merge object that are passed into the current object are ones for which the current object does not have settings.

    Use the Merge(Object, Boolean) method if you want to overwrite existing settings in the current object.

    See Also