> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IsValid (XBOX One 系列)

> 如果目前的配置有效，則傳回 true。

# XGMemoryLayout::IsValid 方法 (XBOX One 系列)

如果目前的配置有效，則傳回 **true**。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
bool IsValid(  
)  
```

<a id="ID4ES" />

### 傳回值

類型: bool

如果目前的配置有效，則為 **true**；否則為 **false**。

<a id="remarks" />

## 備註

無效的配置是對應失敗所造成的結果。

<a id="requirements" />

## 需求

**標頭:** xgmemory.h

<a id="ID4EGB" />

**支援的平台:** XBOX One 系列

## 另請參閱

[XGMemoryLayout](/zh-TW/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/xgmemorylayout)


## Related topics

- [XSystemIsHandleValid](/zh-CN/reference/system/xsystem/functions/xsystemishandlevalid.md)
- [XStoreIsLicenseValid](/zh-CN/reference/system/xstore/functions/xstoreislicensevalid.md)
- [ApuIsVirtualAddressValid](/zh-CN/reference/audio/apu/functions/apuisvirtualaddressvalid.md)
- [SetShapeXmaInputBuffer0Valid](/zh-CN/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0valid.md)
- [SetShapeXmaInputBuffer1Valid](/zh-CN/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1valid.md)
