public static StringVector Repeat(string value, int count) { IntPtr cPtr = StcIntCSharpPINVOKE.StringVector_Repeat(value, count); StringVector ret = (cPtr == IntPtr.Zero) ? null : new StringVector(cPtr, true); if (StcIntCSharpPINVOKE.SWIGPendingException.Pending) { throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }