Gets the attribute specified by its name.
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
C# |
---|
public VGIPermissionAttribute GetAttributeByName( string name ) |
Visual Basic |
---|
Public Function GetAttributeByName ( name As String ) As VGIPermissionAttribute |
Parameters
- name
- Type: System..::..String
the name of the attribute to look for.
Return Value
Type: VGIPermissionAttributeThe attribute if found, null (Nothing) otherwise.