StringUtilitiesGetUnmanagedStringTRes, TSize Method (StringUtilitiesStringQueryTRes, TSize, StringUtilitiesSucceededTRes)

CVB.Net Documentation
Retrieves an unmanaged string from a function that follows the convention that a size query is possible by passing a null pointer first.

Namespace:  Stemmer.Cvb.Runtime.InteropServices
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static string GetUnmanagedString<TRes, TSize>(
	StringUtilitiesStringQuery<TRes, TSize> query,
	StringUtilitiesSucceeded<TRes> succeeded
)

Parameters

query
Type: Stemmer.Cvb.Runtime.InteropServicesStringUtilitiesStringQueryTRes, TSize
Query function
succeeded
Type: Stemmer.Cvb.Runtime.InteropServicesStringUtilitiesSucceededTRes
verification function that checks the result returned by the query function.

Type Parameters

TRes
Return type of the query function.
TSize
Size type used by the query function.

Return Value

Type: String
Retrieved string or null if retrieval failed.
See Also

Reference