Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SetCustomNameComment Method
Name of custom name to which to add a comment
Comment to add
If true, add to model scope; if false, add to custom name to share


In This Topic
    SetCustomNameComment Method (SheetView)
    In This Topic
    Adds a comment to the specified custom name.
    Syntax
    'Declaration
     
    
    Public Function SetCustomNameComment( _
       ByVal name As String, _
       ByVal comment As String, _
       ByVal sheetViewScope As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As SheetView
    Dim name As String
    Dim comment As String
    Dim sheetViewScope As Boolean
    Dim value As Boolean
     
    value = instance.SetCustomNameComment(name, comment, sheetViewScope)
    public bool SetCustomNameComment( 
       string name,
       string comment,
       bool sheetViewScope
    )

    Parameters

    name
    Name of custom name to which to add a comment
    comment
    Comment to add
    sheetViewScope
    If true, add to model scope; if false, add to custom name to share

    Return Value

    If true, comment is set; otherwise, false.
    See Also