REGIONオブジェクトの連結性設定関数
Namespace: fvalgcliAssembly: fvalgcli (in fvalgcli.dll) Version: 3.1.0.0 (3.1.0.11)
Syntax
C# |
---|
public static int fnFIE_region_set_connection(
FHANDLE hreg,
int connection
) |
Visual Basic |
---|
Public Shared Function fnFIE_region_set_connection (
hreg As FHANDLE,
connection As Integer
) As Integer |
Return Value
Type:
Int32
以下のエラーコードを返します。
エラーコード:f_err | 内容 |
---|
F_ERR_NONE | 正常終了 |
F_ERR_INVALID_PARAM | 不正なパラメータ |
F_ERR_INVALID_OBJECT | 不正なハンドル |
F_ERR_NO_LICENCE | ライセンスエラー、または未初期化エラー |
Remarks
Examples
C# | Copy |
---|
using System;
using System.Collections.Generic;
using System.Text;
using fvalgcli;
namespace TC
{
public partial class FIE
{
public void fnFIE_region_set_connection(FHANDLE hRegion)
{
try
{
int connection = 4;
int status = api.fnFIE_region_set_connection(hRegion, connection);
Assert.IsTrue(status == (int)f_err.F_ERR_NONE, "fnFIE_region_set_connection: エラーが発生しました。({0})", (f_err)status);
Console.WriteLine("fnFIE_region_set_connection");
}
finally
{
}
}
}
} |
Visual Basic | Copy |
---|
Imports System.Collections.Generic
Imports System.Text
Imports fvalgcli
Public Partial Class FIE
Public Sub fnFIE_region_set_connection(hRegion As FHANDLE)
Try
Dim connection As Integer = 4
Dim status As Integer = api.fnFIE_region_set_connection(hRegion, connection)
Assert.IsTrue(status = CInt(f_err.F_ERR_NONE), "fnFIE_region_set_connection: エラーが発生しました。({0})", CType(status, f_err))
Console.WriteLine("fnFIE_region_set_connection")
Finally
End Try
End Sub
End Class |
See Also