> For the complete documentation index, see [llms.txt](https://nviasoft.gitbook.io/nviasoft-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nviasoft.gitbook.io/nviasoft-docs/api-reference/item-parsing/getsvid.md).

# GetSVID

### int GetSVID(int SVID, ref int pnFormat, ref string pszName)

EZGemPlus 라이브러리에 등록된 특정 SVID의 데이터 형식(Value Format)과 변수 명칭(SVNAME) 정보를 조회합니다. 이 함수를 통해 해당 SVID가 정수형인지, 문자열인지 등을 사전에 파악하여 데이터 처리를 자동화할 수 있습니다.

Parameters

<table data-header-hidden><thead><tr><th width="171" valign="top"></th><th width="104" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Name</td><td valign="top">Type</td><td valign="top">Description</td></tr><tr><td valign="top">SVID</td><td valign="top">int</td><td valign="top">대상 SVID</td></tr><tr><td valign="top">pnFormat</td><td valign="top">ref int</td><td valign="top">대상 SVID의 Value Format</td></tr><tr><td valign="top">pszName</td><td valign="top">ref string</td><td valign="top">대상 SVID의 SVNAME</td></tr></tbody></table>

&#x20;

```csharp
int svid = 1001;
int format = 0;
string svName = "";

// SVID 1001번에 대한 정보 조회
int result = m_gem.GetSVID(svid, ref format, ref svName);

if (result >= 0)
{
    Console.WriteLine($"SVID: {svid}");
    Console.WriteLine($"Name: {svName}");
    Console.WriteLine($"Format Code: {format}");
}
else
{
    Console.WriteLine($"Failed to get SVID info. Error Code: {result}");
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nviasoft.gitbook.io/nviasoft-docs/api-reference/item-parsing/getsvid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
