// GetText returns an XML representation of an object or instance
GetText returns an XML representation of an object or instance
// GetText returns an XML representation of an object or instance
func (r *Result) GetText(i int) (string, error) {
	res := r.rawRes.ToIDispatch()
	if res == nil {
		return "", fmt.Errorf("Object is not callable")
	}
	res.AddRef()
	defer res.Release()
	t, err := oleutil.CallMethod(res, "GetText_", i)
	if err != nil {
		return "", err
	}
	return t.ToString(), nil
}
func ( r * Result ) GetText ( i int ) ( string , error ) { res := r . rawRes . ToIDispatch ( ) if res == nil { return " " , fmt . Errorf ( " " ) } res . AddRef ( ) defer res . Release ( ) t , err := oleutil . CallMethod ( res , " " , i ) if err != nil { return " " , err } return t . ToString ( ) , nil }
GetText returns an XML representation of an object or instance
GetText returns an XML representation of an object or instance