EnumeratorToEnumVariantMarshaler.GetNativeDataSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the size in bytes of the unmanaged data to be marshaled.
public:
override int GetNativeDataSize();
public:
virtual int GetNativeDataSize();
public override int GetNativeDataSize ();
public virtual int GetNativeDataSize ();
abstract member GetNativeDataSize : unit -> int
override this.GetNativeDataSize : unit -> int
Public Overrides Function GetNativeDataSize () As Integer
Public Overridable Function GetNativeDataSize () As Integer
Returns
-1 to indicate the type this marshaler handles is not a value type.
Implements
Remarks
Because custom marshaling of value types is not supported in the .NET Framework, this method always returns -1.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.