ToBase64Transform.InputBlockSize 属性

定义

获取输入块大小。Gets the input block size.

public:
 property int InputBlockSize { int get(); };
public int InputBlockSize { get; }
member this.InputBlockSize : int
Public ReadOnly Property InputBlockSize As Integer

属性值

输入数据块的大小(以字节为单位)。The size of the input data blocks in bytes.

实现

示例

下面的代码示例演示如何调用InputBlockSize属性来检索当前转换的输入块大小。The following code example demonstrates how to call the InputBlockSize property to retrieve the input block size of the current transform. 此代码示例是为ToBase64Transform类提供的更大示例的一部分。This code example is part of a larger example provided for the ToBase64Transform class.

int inputBlockSize = base64Transform->InputBlockSize;
int inputBlockSize = base64Transform.InputBlockSize;
Dim inputBlockSize As Integer = base64Transform.InputBlockSize

注解

此转换的输入块大小为3个字节。The input block size for this transformation is 3 bytes.

适用于

另请参阅