TypeToTypeInfoMarshaler.MarshalNativeToManaged(IntPtr) 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.
Marshals an object from unmanaged code to managed code.
public:
override System::Object ^ MarshalNativeToManaged(IntPtr pNativeData);
public:
virtual System::Object ^ MarshalNativeToManaged(IntPtr pNativeData);
public override object MarshalNativeToManaged (IntPtr pNativeData);
public virtual object MarshalNativeToManaged (IntPtr pNativeData);
abstract member MarshalNativeToManaged : nativeint -> obj
override this.MarshalNativeToManaged : nativeint -> obj
Public Overrides Function MarshalNativeToManaged (pNativeData As IntPtr) As Object
Public Overridable Function MarshalNativeToManaged (pNativeData As IntPtr) As Object
Parameters
- pNativeData
-
IntPtr
nativeint
A pointer to the unmanaged object to be converted.
Returns
A managed object.
Implements
Exceptions
pNativeData
is null
.
Remarks
The CLR calls this method with the specified pointer to an unmanaged object to convert that object from unmanaged code to managed code, and returns a managed object representing the managed view of the unmanaged data.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za