IField.TryGetFixedSizeBufferInfo Method

Namespace
Kampute.DocToolkit.Metadata
Assembly
  • Kampute.DocToolkit.dll

Definition

Attempts to get information about the fixed-size buffer, if applicable.
bool TryGetFixedSizeBufferInfo([NotNullWhen(true)] out IType elementType, out int length)

Parameters

elementType IType
When this method returns, contains the element type of the buffer if it is a fixed-size buffer; otherwise, null.
length int
When this method returns, contains the length of the buffer if it is a fixed-size buffer; otherwise, 0.

Returns

bool
true if the field is a fixed-size buffer and the information was retrieved; otherwise, false.