CapyKit/Documentation/Help/M_CapyKit_Helpers_KeyHelper_SetNumPartsAccessor.md

35 lines
856 B
Markdown
Raw Normal View History

2025-02-14 04:52:55 -06:00
# SetNumPartsAccessor Method
Set and get the number of parts for the formatted key. Default is 2.
## Definition
**Namespace:** <a href="N_CapyKit_Helpers.md">CapyKit.Helpers</a>
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.4
**C#**
``` C#
public void SetNumPartsAccessor(
Func<int> accessor
)
```
**F#**
``` F#
member SetNumPartsAccessor :
accessor : Func<int> -> unit
```
#### Parameters
<dl><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.func-1" target="_blank" rel="noopener noreferrer">Func</a>(<a href="https://learn.microsoft.com/dotnet/api/system.int32" target="_blank" rel="noopener noreferrer">Int32</a>)</dt><dd>The accessor function.</dd></dl>
## See Also
#### Reference
<a href="T_CapyKit_Helpers_KeyHelper.md">KeyHelper Class</a>
<a href="N_CapyKit_Helpers.md">CapyKit.Helpers Namespace</a>