StringUtilitiesGetUnmanagedStringTRes Method (StringUtilitiesStringQueryFixedLengthTRes, Int32, 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>(
	StringUtilitiesStringQueryFixedLength<TRes> query,
	int capacity,
	StringUtilitiesSucceeded<TRes> succeeded
)

Parameters

query
Type: Stemmer.Cvb.Runtime.InteropServicesStringUtilitiesStringQueryFixedLengthTRes
Query function
capacity
Type: SystemInt32
Capacity to use on the string builder.
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.

Return Value

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

Reference