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: StringRetrieved string or null if retrieval failed.
See Also