Struct NativeBool
Blittable論理型定義
Implements
Inherited Members
Namespace: CriWare.InteropHelpers
Assembly: CriWare.CriBase.dll
Syntax
[Serializable]
public struct NativeBool : IXmlSerializable
Remarks
CRIWAREネイティブと同じbit幅を持つbool値です。 boolに対して双方向のキャストが可能です。
Methods
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
Declaration
public XmlSchema GetSchema()
Returns
| Type | Description |
|---|---|
| XmlSchema | An XmlSchema that describes the XML representation of the object that is produced by the WriteXml(XmlWriter) method and consumed by the ReadXml(XmlReader) method. |
ReadXml(XmlReader)
Generates an object from its XML representation.
Declaration
public void ReadXml(XmlReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlReader | reader | The XmlReader stream from which the object is deserialized. |
WriteXml(XmlWriter)
Converts an object into its XML representation.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlWriter | writer | The XmlWriter stream to which the object is serialized. |
Operators
implicit operator bool(NativeBool)
boolへのキャスト
Declaration
public static implicit operator bool(NativeBool native)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeBool | native |
Returns
| Type | Description |
|---|---|
| bool |
implicit operator NativeBool(bool)
boolからのキャスト
Declaration
public static implicit operator NativeBool(bool val)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | val |
Returns
| Type | Description |
|---|---|
| NativeBool |