This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
StructLayoutAttribute Members
Public:
Constructor
Properties
Methods
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Fields
CharSet |
Indicates how string data members within the class should be marshaled. If the CharSet field is set to the CharSet value Unicode, all string arguments are converted to Unicode characters before being passed to the unmanaged implementation. If the field is set to Ansi, the strings are converted to ANSI strings. If the CharSet is set to Auto, the conversion is platform dependent (Unicode on WinNT and ANSI on Win 9x). |
CheckFastMarshal |
[To be supplied.] |
Pack |
Indicates the packing size that should be used when the System.Runtime.InteropServices.Value Sequential value is specified. The default packing size is 4. |
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
StructLayoutAttribute Class | System.Runtime.InteropServices Namespace