Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / Worksheet Class / Protection Property


In This Topic
    Protection Property (Worksheet)
    In This Topic
    Gets the WorksheetProtection as a read-only object.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Protection As IReadonlyWorksheetProtection
    'Usage
     
    
    Dim instance As Worksheet
    Dim value As IReadonlyWorksheetProtection
     
    instance.Protection = value
     
    value = instance.Protection
    public IReadonlyWorksheetProtection Protection {get;}
    Remarks
    The default value for this property is null.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also